Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Where mytag.tld is the JSP Tag Library Definition file for your tag library. Note: in order to use this support in FreeMarker, you must enable the JSPSupportServlet in web.xml:

Code Block
xml
xml
titleAdding JspSupportSerlvet to web.xml

<servlet>
    <servlet-name>JspSupportServlet</servlet-name>
    <servlet-class>org.apache.struts2.views.JspSupportServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
</servlet>

Tips and Tricks

There are some advanced features that may be useful when building Struts applications with FreeMarker.

...