Code:
Your QQ number& Site = http://pyt5208.cnblogs.com/&Menu=yes> 13Alt = "you have a question! ">
Description:Change the red part to your QQ number ~
Change the number of the blue part to any number between 1 and 17 to display different
Whether action is thread safe or unsafe. Let's see if servlet is thread safe. Actions are inherited from servlet.Let's take a look at the explanations of other materials:JSP is executed in multiple threads by default. This is different from ASP, PHP,
1) simple process: the Web Client sends an HTTP request to the Web server (Tomcat). The web server analyzes the request and is responsible for finding the servlet for the request. Process the request in servlet. To process a request, you can use
Article Source: http://dev.csdn.net/article/81737.shtm
The data structure like an array needs to be used in SQL Server. However, there is no built-in array in transact-SQL. I heard that it can be implemented using strings in combination with a
SessionOfCrudThe operation is used to query a record. to query multiple or all records, you need to useHibernateProvidedHqlLanguage. Crud operations on sessions in hibernate: What is the difference between get and load?* Get does not support
1. Add IIS
Go to "Control Panel" and select "Add/Delete"Program→ Add/delete Windows components ", remove (if any) the minor hooks before" Internet Information Service (IIS) ", re-check and follow the prompts to add IIS components. The IIS
I recently learned the actionforward and actionmapping classes. I 'd like to share some of them here.
Actionmapping:Each action element corresponds to an instance of actionmapping, including name, path, and forwards.
The configuration
One-to-one association ing (bidirectional)
To implement one-to-one bidirectional Association ing, let's take the person and ID card as an example to understand:
Hibernate one-to-one primary key Association ing (two-way Association person
There are two main methods: XML Schema-based setting and annotation-based setting.
Based onXML SchemaPre-notification(Currently, logbeforeadvice does not need to implement methodbeforeadvice)
Logbeforeadvice. Java
Public
The default log framework provided by hibernate3 is slf4j. The SLF of hibernate3 is only a log interface, while the default log framework provided by hibernate3 is rarely used by companies or projects in actual development, here we record a log
El Expression Language
El can be used independently without adding any jar package or any framework.
El expression syntax: $ {variable name}
For example:
Hello (JSP script): Hello (El expression, El expression usage $ and {}): $ {Hello}
1) configurations required to use the tag Library:
Add internationalized configuration: first copy to the struts-config.xml. Copy the file messageresources. properties to the src directory.
2) Deploy the project
3) use the bean tag in struts
One-to-many relationship ing)
Note: Load and get load data based on the primary key, not the primary key cannot be loaded. Hihernate one-to-many Association ing (one-way classes -----> Student) one-to-many Association ing utilizes the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service