THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
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 | ||||
---|---|---|---|---|
| ||||
<%@ 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> ... |