Struts from 1.1 to 1.3 have been used for many years, have risen to 2, but a big face, must be re-examined. Learn from scratch and take notes in order to point.
1. Struts2 and Struts1 seem to have no blood relationship, Cheng from webwork, direct
There is an association between an object and an object in addition to an inheritance relationship: a pair of one or one pairs, multiple pairs, and many-to-many relationships, and in the OpenJPA framework, developers only need to use annotations
In the Web, if you need multiple action with the same name, you can manage the action by using namespaces. See the following examples in detail:
Project name: Strutsdemo, in the configuration Struts.xml, mainly in package to join namespace= "* * *",
Translation of a foreign article on Hadoop MapReduce, the article is relatively long, first translation of the first part of it
Translated by: pconlin900
Blog: http://pconline900.javaeye.com
Hadoop is an open source Map-reduce framework for
Using Eclipse3.2.1+myeclipse5.1+classes12.jar+hibernate3
Built a Hibernate3 Project, using the Classes12.jar driver above, in MyEclipse DB Browser
Connect to the database, select the table, click Hibernate Reverse engnieering in the context menu,
A one-to-one foreign key association in hibernate is similar to a Many-to-many foreign key association,
Hibernate a foreign Key association first refer to this, and then just add the following code to the *.hbm.xml:
,
is to add the unique= "true"
Eighth chapter. Building a WEB layer
Spring's MVC and Struts's MVC are basically consistent.
Spring's control process is: request->dispatcherservlet-> to query from handlermapping to the controller-> Controller that handles the request
61. More exciting is the automatic proxy way to the overall configuration of the various decentralized classes in the method of things properties, combined with the use of Defaultadvisorautoproxycreator, Transactionattributesourceadvisor and
Tenth chapter. Using other Web Frames
Spring provides two ways to integrate with Struts
1 Let your Action inherit Org.springframework.web.struts.ActionSupport
2 delegate the request to the Struts action P312, which is managed as a Spring Bean
42.
Fourth chapter. Conquer database
--------------------------------------------------------------------------------
Spring separates the fixed and variable parts of the data access process into two distinct classes, templates (Template) and
Chapter II: Assembling Beans
--------------------------------------------------------------------------------
1. tags in the bean, local, parent three properties of the difference (P53)
2. and can be swapped for list, set and Array property
Describes the process of installing Oracle10201 on AIX.
First check to see if your system meets your database installation needs:
#/USR/SBIN/LSATTR-E-L sys0-a Realmem
Realmem 32604160 Amount of usable physical memory in Kbytes False
Indexes are a way to efficiently find rows, but MySQL can also use indexes to find data for a column, so it does not have to read the entire row. After all, index leaf nodes store the data they index; When you can get the data you want by reading
Special types of data
Some special types of data may not be directly compatible with the MySQL built-in type. One example is to use Stamptime to store more accurate time.
Another example is the IP address. People often use varchar (15) to store IP
An index is a data structure. It can help MySQL get data more efficiently. It's a decisive factor for good performance, but people often forget to use them or don't understand them correctly, so in real-world examples, indexes always cause
Objective
Optimizing a schema that is poorly designed or incorrectly indexed can improve performance in order of magnitude. If high performance is required, you must design schemas and indexes for the specific statements that will be executed. You
An attempt was taken to remove the snapshot from the Awr import and found that the snapshot was not completely removed.
A dbms_workload_repository executed in a 10.2.0.3 environment. Drop_snapshot_range process, Oracle quickly returned the result,
Edit mode and Development mode
After the application of micro-credit public account successfully, to receive processing user requests, you must be in the "advanced features" in the configuration, click "Advanced Features", you will see the
First, introduce the parameter meaning of spool
SET echo off--whether to display the SQL statement being executed in the script when executing a SQL script with the start command;
SET feedback off--to echo the number of record bars processed by
Type replaces the selected text when the content in the Word document is selected and the new text is entered, the new input replaces the selected content, which is equivalent to the effect of the rewrite. When this feature is canceled, the newly
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