随笔分类 -  Struts 2

摘要:此文件copy自struts2 reference.个人认为这个图对理解struts2非常有帮助,所以就拿来放到自己的博客上了。In the diagram, an initial request goes to the Servlet container (such as Jetty or Resin) which is passed through a standard filter chain. The chain includes the (optional)ActionContextCleanUp filter, which is useful when integrating te 阅读全文
posted @ 2011-03-22 19:37 Jolly-zhang 阅读(735) 评论(0) 推荐(0)
摘要:jsp代码如下:<s:form action="receive.action" method="post"> <s:checkboxlist id="user" name="cheuser" list="#request.userlist" listKey="id" listValue="name" labelposition="left"> </s:checkbox... 阅读全文
posted @ 2010-05-21 12:36 Jolly-zhang 阅读(1534) 评论(0) 推荐(0)
摘要:iterator标签主要是用于迭代输出集合元素,如list set map 数组等,在使用<s:iterator/>标签的时候有三个属性值得我们关注 1. value属性:可选的属性,value属性是指一个被迭代的集合,使用ognl表达式指定,如果为空的话默认就是ValueStack栈顶的集合.2.id属性:可选属性, 是指集合元素的id3.status属性:可选属性,该属性在迭代时会... 阅读全文
posted @ 2010-05-14 11:34 Jolly-zhang 阅读(1812) 评论(0) 推荐(0)