
struts2
happy一个世纪
大道至简 分而治之
展开
-
webwork 集合自动赋值
1、action中有属性private List stud= null; 2、页面有多个Student对象需要传递到后台。那么在action对应的package目录建立一个properties文件,名称是ActionName-conversion.properties 内容Element_stud=edu.tstc.ylq.model.Student,颜色原创 2014-06-08 14:28:55 · 650 阅读 · 0 评论 -
struts2中获取目录的真实路径
String templatePath = ServletActionContext.getServletContext().getRealPath("/template/identificationtemplate");String paperPath = ServletActionContext.getServletContext().getRealPath("/template/iden转载 2015-02-10 17:03:48 · 1231 阅读 · 0 评论