!--google_ad_client = "pub-2947489232296736";/* 728x15, created in 08-4-23msdn/Google_ad_slot = "362 4277373 "; Google_ad_width = 728; Google_ad_height = 15; -->
!--google_ad_client = "pub-2947489232296736";/* 160x600, created in 08-4-23msdn/Google_ad_slot = "4367022601" ; Google_ad_width = 160; Google_ad_height = 600; -->
WebWork Learning notes
------------------------------
Author: kingfish (vc--@sohu. com)
Keyword: webwork1.4, tomcat5
--------------------------------------
I recently learned webwork, found little information (if you have, please send a copy to me, thank you first),
because it is open source project, on the rough look at the source code. The following is a note after I look at it, the
is relatively simple, I hope to be able to bring a little help to the user.
The
level is limited, error unavoidable, please forgive me + correct!
Environment Description:
Use the tomcat5.0+webwork1.4
to unlock Webwork.war in the downloaded webwork to the WebWork directory under Tomcat WebApps.
A. A servlet:webwork.dispatcher.ServletDispatcher
1. Introduction
The importance of all webwork1.4 examples of action is submitted to this servlet for processing.
Open Webworkweb-inf under Web.xml, you can see the following configuration
...
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>webwork.dispatcher.ServletDispatcher</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
...
<servlet-mapping>
<servlet-name>action</servlet-name>
&</