configure the development of this environment.
3, Java+flex development. Generally speaking, are in the existing Java-EE project (Struts, WebWork, etc.) on the increase in flex, then in fact, there is no choice, can only be a project on the expansion.
This way, for most of the current Java project is suitable, because the former Java EE Products Company has been invested for many years, give up the impossible, and the combination of flex this techn
of the following functional requirements:
We need to get the value of the request parameter "username" in action:
Actioncontext context = Actioncontext.getcontext ();
Map params = Context.getparameters ();
String username = (string) params.get ("username");
In order to achieve this function, we have used three steps:
1, to obtain our current Actioncontext object Context,actioncontext is what winter winter.
2, from the context object to get all of our request parameters, obtained is a map object
Apache finally released the official version of Struts2: Struts2.0.6ga, so I should also move from WebWork to Struts2. Struts2 is basically a copy of webwork, so the migration process is very simple, only need to modify the configuration file and some package name on it. With the help of these integrated development tools, such as Eclipse and NetBeans, it is easy to find the desired class, hehe.
Create a d
MVC is no stranger to us, it originated in the 1980s a software design pattern for Smalltalk language has now been widely used. In recent years, with the prevalence of Java, MVC's low coupling, high reusability, maintainability, manageability of software engineering and many other advantages make it popular in the Java platform, in the meantime, there are many excellent MVC framework, such as focus on the control layer of struts, webwork, Struts2 , JS
constraint on I, if I is deleted first, then A is deleted, when falshback drop A, the index, trigger, or constraint will not be restored. 8) tables that use drop user xxx cascade cannot flash back through flashback drop.
[SQL] SQL> select * from knight. books; // initial status id name price ------------------ ---------- 200 WEBWORK 299.9 201 PMP 56.99 1 STRUTS2 199 300 DB2 299 2 AIX 50.5 3 NETWORK 125.89 4 JAVA 88.99 5 JQUERY 102.988 rowsselected. [
This is a new Trojan. So far, there is no better solution on the Internet.The following two files are infected: rundll32.exeand iw.e.exe.Details:Assume that the system is winxp + sp2 and the logon username is buzdwj.1. There is a folder under the C: Documents and Settingsuzdwjlocal settingsemplate directory named eww.pdf (I didn't record it at the time, that is, the English letters starting with e plus numbers ), the folder contains four files: 1.dll,2.exe, 3.dll,4. dll. it should be noted that
implemented by the user. The core controller Filterdispatcher is the foundation of the Struts 2 framework and contains the control flow and processing mechanisms within the framework. Business controller action and business logic components are required to be implemented by the user. While developing the action and business logic components, the user also needs to write the relevant configuration files for use by the core controller filterdispatcher. The work flow of struts 2 is simpler than st
look at the set of code for the virtual machine, such as the system ClassLoader principle, which is not in the JDK package, the JDK is based on it. JDK Source Zip package only 10来 m, it is like a 50来 M,sun company has downloaded, but very secretive. I've been so excited about finding and reading it for myself.Java Web Development Source CodeBefore reading Tomcat and other source code, must have a certain accumulation. My practical experience, can also be said to be a better ladder is:1, wrote s
Learning RoadmapIn addition to these technologies, Java EE Technologies, from simple to complex, include Web application technologies, enterprise-class applications, and Web services technologies, as well as some open-source framework technologies, including the web framework Struts/webwork/tapstry, the business layer framework spring, The persistence layer framework Hibernate/ibatis, which is also the application of Java EE.Although these technologi
MVC is no stranger to us. It originated from a software design pattern for the Smalltalk language in 1980s and is now widely used. In recent years, with the prevalence of Java, MVC's low coupling, high reusability, maintainability, software engineering manageability and many other advantages have made it very popular on the Java platform, many excellent MVC frameworks, such as struts, webwork, struts2, and JSF on the control layer, were created, sprin
guide (the struts2 written by the Chinese people is just like this, and there is no competition, but it is very comprehensive. The author is said to be a lecturer of New Oriental, and I have already said something n times,)2. struts2 in Action (this name is loud enough. For how long it may take, you can download it to an English Electronic version. Currently, there is no Chinese version. The book is very authoritative, that is, there is less code in it)3. in-depth introduction to struts2 (Chine
means to bind interface elements (such as a textfield or hidden) it is bound to an attribute of a class in the Object layer, and the modification and display are automatically synchronized.Compared with the formbean of struts, this method has obvious advantages: you do not need to write formbean for each page in webwork, And you can directly use the object at the Object layer. For example, in the object design, our user and person are separated, whil
InterceptionToolYes dynamicInterceptionThe object called by action. it provides a mechanism for developers to define the code to be executed before and after an action is executed, or to prevent execution before an action is executed. it also provides a way to extract reusable parts of an action.
InterceptionToolIt must be stateless and cannot be guaranteed to create an instance for each request or action.InterceptionToolYou can choose to short-circuit an action call and return a result code (su
module directly integrates Aspect-oriented programming functions into the spring framework. Therefore, any objects managed by the Spring framework can easily support AOP. The Spring AOP module provides transaction management services for objects in spring-based applications. By using Spring AOP, You can integrate declarative transaction management into applications without relying on EJB components.
2. struts2
Struts2 is centered on the design concept of
Describes the execution process of struts2.
The struts 2 framework can be roughly divided into three parts: core controller filterdispatcher, business controller action, and enterprise business logic component implemented by users.
The core controller filterdispatcher is the basis of the struts 2 Framework and includes the internal control process and processing mechanism. The business controller action and business logic components must be implemented by the user. When developing action and bus
. Therefore, no error is reported. No database operations are performed.
Describes the execution process of struts2. The struts 2 framework can be roughly divided into three parts: core controller filterdispatcher, business controller action, and enterprise business logic component implemented by users. The core controller filterdispatcher is the basis of the struts 2 Framework and includes the internal control process and processing mechanism. The business controller action and business logic
better than them and appears as an independent Lib, it is convenient for us to build our own framework.
Webwork2 and struts2.x use ognl to replace the original El for interface data binding. The so-called interface data binding means to bind interface elements (such as a textfield or hidden) it is bound to an attribute of a class in the Object layer, and the modification and display are automatically synchronized.
Compared with the formbean of struts1.x, this method has obvious advantages: yo
class should be: protected modelandview onsubmit (Object cmd), which is not required by bindexception ex.4, can not be considered a problem: Remember in the Web-INF/lib in addition to the spring. jar, log4j. jar, commons-logging.jar, but also need two jar: jstl. jar, standard. Jar5. Page 6:
Haha, this document played a major role when I was studying it. As a result, I spent a whole day debugging this example, but I was very impressed after the solution.
20. $ {status. *} corresponds to the act
Scope = "prototype">
Scope = "prototype" is not written. to add, delete, and delete a table in the project, an action is used. The actionadd, update, delete, and save methods are used, the ADD and modify operations share a page. When the page gets the ID, the table is modified, and vice versa. Because the bean configured with spring forgets to write scope = "prototype", the last accessed record is displayed each time it is added, scope = "prototype" creates a new action object when this type of
learn Java database technology and use at least one persistence/ORM architecture, such as Hibernate, JDO, cococobase, toplink, insideliberator (domestic JDO red factory software) or ibatis.
6. You should also understand the meaning of the impedance mismatch of the object relationship and how it affects the interaction between the business object and the relational database and its running results, also need to master the use of different database products, such as Oracle, MySQL, ms SQL Server.
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.