struts2调试技巧。
1.设置开发模式为调试模式:
2.增加调试包:struts2-config-browser-plugin-2.0.11.1.jar拷贝到lib文件夹下
3.调试使用的标签:<s:debug />
4.在URL上增加调试命令:
web.xml:
struts.xml:
struts.properties:
struts2访问Application,session,Request:
或者
1.设置开发模式为调试模式:
2.增加调试包:struts2-config-browser-plugin-2.0.11.1.jar拷贝到lib文件夹下
3.调试使用的标签:<s:debug />
4.在URL上增加调试命令:
web.xml:
struts.xml:
struts.properties:
struts2访问Application,session,Request:
或者