Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

JSP tags are extensions of the generic Tags tags provided by the framework. You can get started almost immediately by simply knowing the generic structure in which the tags can be accessed: <saf<s:xxx> tag> ... </safs:xxx>tag>, where xxx tag is any of the tags supported by the framework.

...

The JSP TLD is included in the struts-actioncore.jar. To use, just include the usual red-tape at the top of your JSP.he following to your JSP:

Code Block
xml
xml
<%@ taglib prefix="safs" uri="action/struts-tags" %>
<html>
<html><body>
  <body>
    <p>Now you can use the tags, like so:</p>
<saf    <s:iterator value="people">
      <saf<s:property value="lastName"/>, <saf<s:property value="firstName"/>
    </safs:iterator>
    ...

Next: Freemarker