<s:action>标签的用法

struts2的s:param标签主要有两个属性name与value,
若想在value属性中输入直接量,则可以这样写:<s:param name="tableTitle" value="%{'user'}"/>,
也可以这样写:<s:param name="tableTitle">user</s:param>,这个表达式tableTitle变量的值为user字符串,而不是user变量;
若想取user对象的值,则可以这样写<s:param name="tableTitle" value="user"/>,
这些用法主要是在<s:component>标签中嵌套使用s:param的时候要注意

 

http://simen.iteye.com/blog/219744
http://topic.csdn.net/u/20100308/18/6a113b29-dbe9-4fa3-a19b-57f0e2850a17.html 

http://lihua-he.iteye.com/blog/757341 有时间总结,先记下来

相关文章:

  • 2021-07-06
  • 2021-11-21
  • 2022-12-23
  • 2022-01-09
  • 2021-12-11
  • 2021-12-24
  • 2021-04-23
  • 2021-07-15
猜你喜欢
  • 2021-12-22
  • 2021-10-17
  • 2021-11-29
  • 2021-10-12
  • 2021-12-20
  • 2022-01-16
相关资源
相似解决方案