Skip to main content

Benx Shen's Library tagged doc   View Popular

01 Feb 07

Jakarta-Taglibs: Regexp Tag library


    • These tags implement the three most common Perl5 operations
      involving regular expressions:


      • [m]/pattern/[i][m][s][x]

      • s/pattern/replacement/[g][i][m][o][s][x]

      • split()
21 Nov 06

WebWork Freemarker Support - WebWork - Confluence

  • <#assign ww=JspTaglibs["/WEB-INF/webwork.tld"] />
    • freemarker 使用 jsp 的自訂標籤 taglib
      - on 2006-11-21
    Add Sticky Note
    • Objects in the Context



      The following variables exist in the freemarer views



      • req - the current HttpServletRequest
      • res - the current HttpServletResponse
      • stack - the current OgnlValueStack
      • ognl - the OgnlTool instance
        • This class contains useful methods to execute OGNL expressions against arbitary objects, and a method to generate a select list using the <ww:select> pattern. (i.e. taking the name of the list property, a listKey and listValue)
        • webwork - an instance of FreemarkerWebWorkUtil
        • action - the current WebWork action
        • exception - optional the Exception instance, if the view is a JSP exception or Servlet exception view
    • freemarker 在 webwork 架構之下的隱含物件有 req, res, stack, ognl, webwork, action, exception 等。
      - on 2006-11-21
    Add Sticky Note
  • 1 more annotations...
1 - 20 of 24 Next ›
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo