The following two error exceptions are often encountered during the course of learning SSH
1.Servlet action is not available
This exception is typically a configuration file error
can refer to Http://blog.csdn.net/yangshoubo/archive/2009/09/05/4523457.aspx
2.java.lang.nullpointerexception xxx.action.xxxAction.xxxx
This means that an action cannot be executed because the integrated hibernate is given to spring to handle, The first thing to look at is whether the path to the action in the Applicationcontext.xml file is consistent with the struts-config.xml, and whether the type is the type defined in spring, because it is also possible that the type is inconsistent.
Workaround:
(1). The type of the Struts-config.xml action must be org.springframework.web.struts.DelegatingActionProxy
(2). This property is not required to delete the Type property of the action.
(3). Add a controller to the Struts-config.xml
<controller>
<set-property property= "Processorclass"
Value= "Org.springframework.web.struts.DelegatingRequestProcessor"/>
</controller>