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: <s:tag> ... </s:tag>, where 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="s" uri="/struts-tags" %>
<html><body>
<html>
  <body>
    <p>Now you can use the tags, like so:</p>
    <s:iterator value="people">
      <s:property value="lastName"/>, <s:property value="firstName"/>
    </s:iterator>
    ...

Next: Freemarker