Summarizing the lessons learned, JBuilder X is related to Struts (the two issues found below), JBuilder will disperse automatic detection of Web.xml, and find that it is not properly automatically tampering, so that OK is Project cannot run normally.
1. Automatically delete the Struts Action Servlet to Encoding mapping. Friends who develop Chinese systems generally encoding this servlet via Web.xml, divided into definition and mapping, two-step implementation: a.encoding this filter definition:
B. Map it with an action servlet
This B step is that JBuilder is often automatically deleted, causing all Chinese data submitted in web applications to garbled, and it is not correct to enter the Action data.
2. Automatically increase the initialization parameters of the Action Servlet. When defining the Action servlet in web.xml, you can selectively provide parameters, some parameters can be configured in Struts-Config.xml, but JBuilder finds that there is no parameter to add it. Action servlet configuration demo:
According to DELEDA, the IDE other than JBuilder does not detect Web.xml, JBuilder wants to do, but it is not possible to do, at least the Struts related action is not perfect. Study on the study.