Spring in Action
Learning Notes--wedges
first, the causeI am a java programmer, Java write more, naturally want to go to Java EE (now called Java EE) aspects of development. So I began to look at the details of the Java EE, online Search, in the forum to ask. Finally I looked up a bunch of words, like Struts, WebWork, Spring, Hibernate, EJB, and so on, these can be called by the name of the big, there are countless I can't name or never heard of. So
The. exploit-db website broke out in July 14Struts2 Remote Arbitrary Code Execution VulnerabilityThis vulnerability is very harmful. It can be said to be the root of a hundred machines. As long as the Struts2 and webwork framework systems are used (for the webwork version, it is not clear that I have no environment to test it one by one here,The relationship between the two is described here..
2. after rece
with "one-region" and "one-one" in the ing file such as HBM. xml.
After the database and Java are integrated, the next step is inevitably the integration of the existing Web client and server code. On the surface, most web clients use HTML/JavaScript, while the server uses Java for output. The two are simple command/Feedback models, after this model has evolved from Model 1 to the MVC model, coding becomes clearer, but developers still find that writing web apps is still not a simple task. Stru
With regard to the framework of STRUTS2, he was formed by the combination of Struts1 and webwork. STRUTS2 Thread is secureStrut2 surface is STRUT1 upgrade, the essence is webwork upgrade. Strut2 is the integration of STRUT1 and WebWork, the core is webwork.The two foundations used by struts2:The underlying and webwork
and debugging of JSP + taglib pages is quite troublesome, and the system configuration is also cumbersome ". Struts is currently the most widely used, and is also the basic requirement for most companies to recruit programmers. Last month, I simply looked at him again, but it was not too deep.
2. webwork2: I saw it at the beginning of the year. At that time, the company was working on a project using an "open-source system". The system used webwork,
Struts2 Application Development video tutorial and source code collection
Struts 2 is the next-generation product of Struts. It is a new struts 2 framework that is merged Based on Struts and webwork technologies. The new architecture of struts 2 is significantly different from that of struts 1. Struts 2 uses webwork as the core and the interceptor mechanism to process users' requests. This design also ena
Webwork2 Tag: Theme template
use the UI tag provided by webwork on the JSP page, mainly the radio tag, at first, I was not quite comfortable with the XHTML theme template. Many table elements were inserted in the tag. Second, a label is automatically inserted when the radio tag is displayed. At the beginning, I only needed to add a tag's label or value to solve the problem. Later I realized that the template must be changed.
# One of struts2 knowledge reviews
Summary: struts2 is a lightweight web application framework based on the MVC design model. It is essentially equivalent to servlet.It is a combination of struts1 (a lightweight Web framework based on MVC model in early days) and webwork (a J2EE Web framework organized by opensymphony) technologies.Its core is webwork. It uses an interceptor mechanism to process user req
with "one-region" and "one-one" in the ing file such as hbm. xml.After the database and java are integrated, the next step is inevitably the integration of the existing web client and server code. On the surface, most web clients use html/javascript, while the server uses java for output. The two are simple command/Feedback models, after this model has evolved from model 1 to the MVC model, coding becomes clearer, but developers still find that writing web apps is still not a simple task. Strut
Miscellaneous: Taglib, EL, and OGNL; Miscellaneous: taglibelognl
This article is my personal understanding of EL, OGNL, and Taglib in JavaWeb.
Because the above content is Based on JSP, first describe JSP in my eyes.
She is free and unrestrained, just like the vast sea, spanning any server barrier and running on various platforms.
She can accommodate various forms of code and tag libraries, Java native code, JSTL expressions, Struts Taglib, JSF Taglib, Webwo
servlet, using the MVC design pattern struts2 is a framework based on webwork technology, a very well-equipped framework developed by Sun and WebWork. Struts2 and Struts1 have nothing to do with a whole new framework What is 6.spring? Spring is a hodgepodge of many third-party frameworks, the core of which is the IOC(inversion of control, also known as a dependency note and AOP(plane-oriented programming)W
exploitation, it also provides a series of tools to simplify Web application development.
Developers do not need to care about Portal specifications. as long as they care about Struts development, this greatly reduces development costs and retrains developers.
: Integrate the Struts exploitation program in the Portal
Important implementation classes:
Public class StrutsPortlet extends GenericPortlet
The following is a snippet of the Portlet:
ServletContextProvider
Org. apach
completely and have to use the struts tag, you should spend more time looking at it.
Differences between struts2.0 and struts1.x
However, in addition to the above three most basic core needs to be mastered, for the new version of struts, you also need to know some other improvements, the following content I found on the Internet, it makes some comparisons between struts2.0 and struts1.x. Let's take a look at why struts has been upgraded (nothing more than making it more complete ):
1. Int
Document directory
Comment
Today, I encountered a problem. In webwork 2.2, I sent multiple parameters to the result of an action:The original configuration is as follows:
The following prompt appears during running:The reference to entity "field2" must end with the ';' delimiter.I thought it was an ognl problem. I went around to search for it ...... No problem was found after reading the DTD.Later, I suddenly found that it was a SAX Parser err
he was very efficient. Now he is not very good at his rating on the internet. "advantages: low learning curve, easy to use, suitable for beginners. Because it has been around for a long time, he is a mature product and has learned a lot. Disadvantages: Modification and debugging of JSP + taglib pages is quite troublesome, and the system configuration is also cumbersome ". Struts is currently the most widely used, and is also the basic requirement for most companies to recruit programmers. Last
50 MB. Sun has downloaded the package, but it is very confidential. I was so excited to find and read it for myself.
Java Web development source code Before reading The Source Code such as Tomcat, you must have accumulated some experience. My practical experience can also be said to be a better step:1. I have written some Servlet and JSP code. Note that, instead of using struts, it is difficult to get in touch with the essence of servlet. Using struts is just a fur.2. I have read Servlet and JS
associated with "one-region" and "one-one" in the ing file such as HBM. xml.
After the database and Java are integrated, the next step is inevitably the integration of the existing Web client and server code. On the surface, most web clients use HTML/JavaScript, while the server uses Java for output. The two are simple command/Feedback models, after this model has evolved from Model 1 to the MVC model, coding becomes clearer, but developers still find that writing web apps is still not a simple
The cultural group is proud to announce the release of the Chinese version 1.0a of webwork.
Thanks to the hard work of our team members and the assistance of our friends, we can finally release this gratifying version.
The translated content in this version includes:
Reference (all except a few outdated documents have been translated)
Basics
Advaneced
UI/Views
J2se5 support
Portlets
Other part (Completion partArticle):
About
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.