Action: NULL
Java. Lang. classnotfoundexception: org. springframework. Web. Struts. contextloaderplugin
Solution: load the spring. jar package
Failed to initialize
At org. Apache. Struts. Action. actionservlet. initmoduleplugins (
Solution:Delete asm-2.2.3.jar
Springdao reports a null pointer exception
Java. Lang. nullpointerexception
Springdao. ecaccountdao. Save (ecaccountdao. Java: 48)
Solution: access the DAO class without loading the spring configuration file.
Applicationcontext CTX = new classpathxmlapplicationcontext ("applicationcontext. xml ");
Ecaccountleveldao Dao = (ecaccountleveldao) CTX. getbean ("ecaccountleveldao ");
Servlet action is not available
First check the Web. XML, struts-config.xml and other files are not written wrong, and then check the struts package is not complete... or spring + Struts plug-in loading errors
Enctype = "multipart/form-Data"
When submitted, the file is transmitted as a stream, and the normal string cannot be passed!
After removal, all strings are passed by default. Therefore, only the strings in the text box are submitted!
An error cannot be reported when the database table is opened after the table is modified.
It may be because the DaO file does not load the @ transcational tag, resulting in transactions (sessions ?) It has been running and has not been closed.
Multi-table join query: When a foreign key object exists, the foreign key object also needs to be linked for query to be introduced into the result set.
Ecopus (opus, accout, catepoies)
From opus, accout, catepoise
Where ......
Illegalstateexception
If the servletoutputstream object or printwriter object has been obtained from the response (request, response), the forward method cannot be used; otherwise, this exception is thrown.