Struts2概述
摘要:1.struts1使用的是中心控制器类ActionServlet来进行请求分发,struts2使用的是过滤器,但在内部是使用一种叫做拦截器的功能来进行request和Action及parameter的处理。 2.struts2中的ActionSupport类具有验证表单的功能,实现了Validate
阅读全文
posted @
2017-06-27 23:28
十字街~
阅读(114)
推荐(0)
获取项目绝对路径
摘要:1 //路径至../webapp\/ 2 ServletActionContext.getRequest().getSession().getServletContext().getRealPath("/");
阅读全文
posted @
2017-04-19 21:24
十字街~
阅读(113)
推荐(0)
formt提交input值获取不到问题
摘要:input只读属性设置为readonly,不能设为disabled
阅读全文
posted @
2017-04-16 22:14
十字街~
阅读(193)
推荐(0)