zoukankan      html  css  js  c++  java
  • Struts2_Struts标签大致内容

    Struts-Tags
    1.通用标签
      a) property
      b) set
        i.默认为 action scope,会将值放入 request 和 ActionContext中
        ii. page、request、session、application
      c) bean
      d) include(对中文文件支持有问题,不建议使用,如需包含,改用jsp包含)
      e) param
      f) debug
    2.控制标签
      a) if else if else
      b) iterator
        i. collections map enumeration iterator array
      c) subset
    3. UI标签
      a) theme
        i. simple xthml(默认)css_html ajax
    4、AJAX标签
      a)补充
    5、$#%的区别
      a) $用户 i18n 和 struts 配置文件
      b) #取得 ActionContext 的值
      c) %将原本的文本属性解析为ognl,对于本来就是ognl的属性不起作用
        i. 参考<s:property 和 <s:include

  • 相关阅读:
    树的可视化
    图的可视化
    1+1=2
    用xapian来做索引
    学习的快乐
    项目小结
    z=sin(xy)
    Min Stack
    互联网公司的文化
    为什么要读数学书
  • 原文地址:https://www.cnblogs.com/ShawnYang/p/6677068.html
Copyright © 2011-2022 走看看