随笔分类 -  struts2

摘要:我们经常看到 action=“xxx!xxx.action”那么这个!是什么意思呢 比如 s_login!login.action就是调用s_login.action的login方法 阅读全文
posted @ 2015-10-14 09:09 棍子上的萝卜头 阅读(164) 评论(0) 推荐(0)
摘要:Struts Problem ReportStruts has detected an unhandled exception:Messages: Class: org.apache.struts2.components.template.TemplateEngineManager File: T... 阅读全文
posted @ 2015-09-23 00:09 棍子上的萝卜头 阅读(181) 评论(0) 推荐(0)
摘要:web.xml SSH1 index.html index.htm index.jsp default.html default.htm default.jsp contextConfigLocation classpath:applicationContext-*.xml or... 阅读全文
posted @ 2015-09-16 20:14 棍子上的萝卜头 阅读(192) 评论(0) 推荐(0)
摘要:首先在jsp中导入jquey.js包 博主用的1.91版本login.jsp: My JSP 'loginForm.jsp' starting page 用户名: 密码 验证码: ... 阅读全文
posted @ 2015-09-04 13:28 棍子上的萝卜头 阅读(204) 评论(0) 推荐(0)
摘要:codeInputStream image/jpg ok 阅读全文
posted @ 2015-09-03 16:33 棍子上的萝卜头 阅读(236) 评论(0) 推荐(0)
摘要:同一个包中只需要 写上跳转的action名即可例子: r2 /xxx.jsp 不同包中 需要借助标签例子: r2 /login method123 /xxx.jsp 阅读全文
posted @ 2015-08-23 11:06 棍子上的萝卜头 阅读(425) 评论(0) 推荐(0)