
struts2
susailor
这个作者很懒,什么都没留下…
展开
-
struts2下解决中文问题
最近写一个程序,url中需要传递中文参数,弄了很久找不到原因。后来到网上查了下前辈们的做法,试着做了下终于成功了。现在总结如下: 1、配置tomcat。在server.xml的 <Connector port="9007" protocol="HTTP/1.1" connectionTimeout="20000" redirect...2008-05-24 15:47:17 · 115 阅读 · 0 评论 -
struts在jsp中的标签(转)
原文:http://shuixian.iteye.com/blog/81607xml 代码文本框的使用<s:textfield name="name" cssClass="w_180_input"/> 下拉列表的使用(从数据库中取数据)<s:select list="venderList" listKey="id" listValue="name"2008-05-25 22:05:22 · 139 阅读 · 0 评论 -
struts2中批量操作
在页面中,涉及不少批量操作,经过半天时间研究,终于有了进展,现总结如下: 1、简单批量删除 利用一个数组将jsp页面的值传递到action中。在action中必须定义一个数组对象。Jsp页面: <s:form action="updateQuestionType" method="post"> sialo:<input type="c...2008-05-27 14:44:05 · 242 阅读 · 0 评论