Found a Struts series, only a few articles,
Here is a link link.
I want to get a few articles quickly, I didn't expect the first one.
The downloaded source code does not include JAR packages, I copied servlet.jar and struts.jar to the lib directory, compiled smoothly. Start Tomcat, open IE, login.jsp runs normal, login ...
Then% ^ & $% #%
Type Status Report
Message Servlet Action is currently unavailable
Description The Requested Service (Servlet Action Is Currently Unavailable) Is Not Currently Available. I didn't understand what it means. Web.xml and struts-config.xml are very simple, see no problem. Google, found that a part of the configuration has a problem, there is a JAR package is not full, ok. Put all the JARs in the Struts sample LIB to remove the files in Tomacat's Work directory, restart Tomcat, everything OK. To be simple, the middle is still a more time, starting to delete the files in Work, or not, must develop the habit of emptying this directory. I use Tomcat to 4.1, I should consider trying to try high versions. Today is too much, hehe! This intention practice Log4j, it seems to be tomorrow.