Aug 01
The standard JSP tags are:
- <jsp:useBean> - Allows you to put or look up a bean in the page, request, session, or application scope. (This tag is very useful for maintaining state). JavaBean instances: Recall that the JSP engine only loads a new instance of the bean if it can’t find an existing instance in scope. This means you can use a bean as a storage container that keeps track of the application’s data anywhere within its scope.
- <jsp:setProperty> - Allows you to set the property of a bean that is already defined and in scope. Use the <jsp:setProperty> tag for Bean initialization.
- <jsp:getProperty> - Takes the value of a bean’s property, converts it to a string, and places it in the output stream.
- <jsp:param> – Provides parameters and values to the include, forward, and plugin standard actions.
- <jsp:include> – Includes a page at request time instead of translation time with the @include directive.
- <jsp:forward> – Forwards the request to another resource in the existing Web application.
- <jsp:plugin> – Enables the JSP author to generate HTML using client-browser independent constructs that result in the download and subsequent execution of the specified applet or component (results of the evaluated tag are typically replaced by an <object> or <embed> tag).
Leave a Reply
You must be logged in to post a comment.
Recent Comments