Sunteți pe pagina 1din 4

The HTML Tag Library Tags Tag base button cancel checkbox errors file form frame hidden

html image img javascript link Description Generates an HTML <base> tag with its href attribute set to the absolute URL of the enclosing JSP. Generates an HTML <input type="button"> tag. Generates an HTML <input type="submit"> tag that, when executed, causes Struts' Cancel feature to be triggered. Generates an HTML <input type="checkbox"> tag populated with data from a specified object. Displays a set of error messages stored as an org.apache.struts.action. ActionErrors object, a String, or a String array in any scope. Generates an HTML <input type="file"> tag populated with data from a specified object. Generates an HTML <form> tag tied to an Action object and its corresponding Form Bean from the struts-config.xml file. Generates an HTML <frame> tag. Generates an HTML <input type="hidden"> tag populated with data from a specified object. Generates an HTML <html> tag with language attributes set to the current user's locale. Generates an HTML <input type="image"> tag. Generates an HTML <img> tag. Generates client-side JavaScript validation code for validations defined in the Validator framework's validation.xml file. Generates an HTML hyperlink <a> tag whose URL is composed by specifying a base URL and optionally specifying an anchor and/or query string parameters to add to the URL. Displays a set of messages stored as an org.apache.struts.action. ActionErrors object, an org.apache.struts.action.ActionMessages object, a String, or a String array in any scope. Generates an HTML <input type="checkbox"> tag whose checked status is based on whether a specified value matches one of the values in a specified array of values. Generates an HTML <option> tag. Generates a set of HTML <option> tags for each element in a collection. Generates a set of HTML <option> tags for each element in a collection. Generates an HTML <input type="password"> tag populated with data from a specified object. Generates an HTML <input type="radio"> tag populated with data from a specified object. Generates an HTML <input type="reset"> tag. Generates a URL by specifying a base URL and optionally specifying an anchor and/or query string parameters to add to the URL. Generates an HTML <select> tag.

messages

multibox option options optionsCollection password radio reset rewrite select

Tag submit text textarea xhtml

Description Generates an HTML <input type="submit"> tag. Generates an HTML <input type="text"> tag populated with data from a specified object. Generates an HTML <textarea> tag populated with data from a specified object. Instructs the rest of the tags in the HTML Tag Library to generate their output as XHTML instead of HTML.

The Bean Tag Library Tags Tag cookie define header include message page parameter resource size struts write Description Stores a reference to an HTTP cookie (javax.servlet.http.Cookie) from the incoming request in a JSP scripting variable with page scope. Stores a reference to a new or existing object in a JSP scripting variable. Stores an HTTP header from the incoming request as a String object in a JSP scripting variable with page scope. Performs a request to a page and stores the contents as a String object in a JSP scripting variable with page scope. Retrieves an internationalized message from the application resource bundle and renders it to a JSP's output stream. Stores one of a JSP's implicit objects in a JSP scripting variable with page scope. Stores a parameter from the incoming request as a String object in a JSP scripting variable with page scope. Loads the contents of a Web application resource and stores them as a String object in a JSP scripting variable with page scope. Stores the size (number of elements) of an array, java.util.Collection-based object, or java.util.Map-based object as a variable with page scope. Stores a reference to a Struts configuration object in a JSP scripting variable with page scope. Renders the value of an object to a JSP's output stream.

The Logic Tag Library Tags

Tag empty equal forward greaterEqual greaterThan

Description Wraps content that is conditionally processed based on whether the specified object is null or contains an empty (zero-length) String. Wraps content that is conditionally processed based on whether a specified object's value equals a specified constant value. Looks up a forward from the Struts configuration file and processes it. Wraps content that is conditionally processed based on whether a specified object's value is greater than or equal to a specified constant value. Wraps content that is conditionally processed based on whether a specified object's value is greater than a specified constant value.

Tag iterate lessEqual lessThan match messagesNotPresent

Description Wraps content that is repeated for each element of a specified collection. Wraps content that is conditionally processed based on whether a specified object's value is less than or equal to a specified constant value. Wraps content that is conditionally processed based on whether a specified object's value is less than a specified constant value. Wraps content that is conditionally processed based on whether a specified object's value contains, starts with, or ends with a specified constant value. Wraps content that is conditionally processed based on whether Struts' org.apache.struts.action.ActionErrors or org.apache.struts.action.ActionMessages object does not have any errors or messages in it, respectively. Wraps content that is conditionally processed based on whether Struts' org.apache.struts.action.ActionErrors or org.apache.struts.action.ActionMessages object has any errors or messages in it, respectively. Wraps content that is conditionally processed based on whether the specified object is non-null and does not contain an empty (zero-length) String. Wraps content that is conditionally processed based on whether a specified object's value is not equal to a specified constant value. Wraps content that is conditionally processed based on whether a specified object's value does not contain, start with, or end with a specified constant value. Wraps content that is conditionally processed based on whether a specified object does not exist. Wraps content that is conditionally processed based on whether a specified object exists. Composes a URL to another page and then redirects to it.

messagesPresent

notEmpty notEqual notMatch notPresent present redirect

The Nested Tag Library Tags Tag checkbox define empty equal errors file form greaterEqual greaterThan hidden image img iterate Description Nesting-enabled version of the HTML Tag Library's checkbox tag. Nesting-enabled version of the Bean Tag Library's define tag. Nesting-enabled version of the Logic Tag Library's empty tag. Nesting-enabled version of the Logic Tag Library's equal tag. Nesting-enabled version of the HTML Tag Library's errors tag. Nesting-enabled version of the HTML Tag Library's file tag. Nesting-enabled version of the HTML Tag Library's form tag. Nesting-enabled version of the Logic Tag Library's greaterEqual tag. Nesting-enabled version of the Logic Tag Library's greaterThan tag. Nesting-enabled version of the HTML Tag Library's hidden tag. Nesting-enabled version of the HTML Tag Library's image tag. Nesting-enabled version of the HTML Tag Library's img tag. Nesting-enabled version of the Logic Tag Library's iterate tag.

Tag lessEqual lessThan link match message messages messagesNotPresent messagesPresent multibox nest notEmpty notEqual notMatch notPresent options optionsCollection password present radio root select size submit text textarea write writeNesting

Description Nesting-enabled version of the Logic Tag Library's lessEqual tag. Nesting-enabled version of the Logic Tag Library's lessThan tag. Nesting-enabled version of the HTML Tag Library's link tag. Nesting-enabled version of the Logic Tag Library's match tag. Nesting-enabled version of the Bean Tag Library's message tag. Nesting-enabled version of the HTML Tag Library's messages tag. Nesting-enabled version of the Logic Tag Library's messagesNotPresent tag. Nesting-enabled version of the Logic Tag Library's messagesPresent tag. Nesting-enabled version of the HTML Tag Library's multibox tag. Defines a logical level in a nesting hierarchy and associates an object with it that all of its nested tags will be relative to. Nesting-enabled version of the Logic Tag Library's notEmpty tag. Nesting-enabled version of the Logic Tag Library's notEqual tag. Nesting-enabled version of the Logic Tag Library's notMatch tag. Nesting-enabled version of the Logic Tag Library's notPresent tag. Nesting-enabled version of the HTML Tag Library's options tag. Nesting-enabled version of the HTML Tag Library's optionsCollection tag. Nesting-enabled version of the HTML Tag Library's password tag. Nesting-enabled version of the Logic Tag Library's present tag. Nesting-enabled version of the HTML Tag Library's radio tag. Defines the root object of a nested hierarchy of objects. Nesting-enabled version of the HTML Tag Library's select tag. Nesting-enabled version of the Bean Tag Library's size tag. Nesting-enabled version of the HTML Tag Library's submit tag. Nesting-enabled version of the HTML Tag Library's text tag. Nesting-enabled version of the HTML Tag Library's textarea tag. Nesting-enabled version of the Bean Tag Library's write tag. Renders or creates a JSP scripting variable for a string representation of the object related to the current nesting level.

S-ar putea să vă placă și