Upgrade struts to 2.5.0 2 problems encountered and solutions (recommended)
The original version was 2.3 x. It needs to be upgraded to 2.5.0 for security reasons 2。
1,2.5. Version 2 no longer provides xwork Jar, integrated into the struts core package.
2. For the problem that the method cannot be accessed, you need to add strict method invocation = "false" in each action configuration file:
And modify the header of the configuration file to version 2.5:
3. For the problem of session failure, for the WebLogic Server, add the session descriptor node:
4,2.5. Version 2 JDK requires 1.7 5, web XML
Amend to read:
The above is a small series to introduce struts upgrade to 2.5 2 problems encountered and solutions (recommended), I hope to help you. If you have any questions, please leave me a message, and Xiaobian will reply to you in time. Thank you very much for your support for the programming tips website!