Jakarta Server Pages - 2.1
JavaDoc Assertion Detail

TotalsTotalActiveDeprecatedRemoved
# of Assertions 440414125
# of Required Assertions 436410125
# of Optional Assertions 4400

IDReturnMethod/FieldDescriptionRequiredDeprecatedTestable
JSP:JAVADOC:1ErrorDatajakarta.servlet.jsp.ErrorData.ErrorData
( Throwable ,
int ,
String ,
String )
Creates a new ErrorData object true
true
JSP:JAVADOC:2Throwablejakarta.servlet.jsp.ErrorData.getThrowable
Returns the Throwable that caused the error true
true
JSP:JAVADOC:3intjakarta.servlet.jsp.ErrorData.getStatusCode
Returns the status code of the error true
true
JSP:JAVADOC:4Stringjakarta.servlet.jsp.ErrorData.getRequestURI
Returns the request URI true
true
JSP:JAVADOC:5Stringjakarta.servlet.jsp.ErrorData.getServletName
Returns the name of the servlet invoked true
true
JSP:JAVADOC:6SkipPageExceptionjakarta.servlet.jsp.SkipPageException.SkipPageException
Creates a SkipPageException with no message. true
true
JSP:JAVADOC:7SkipPageExceptionjakarta.servlet.jsp.SkipPageException.SkipPageException
( String )
Creates a SkipPageException with the provided message. true
true
JSP:JAVADOC:8SkipPageExceptionjakarta.servlet.jsp.SkipPageException.SkipPageException
( String ,
Throwable )
Creates a SkipPageException with the provided message and root cause. true
true
JSP:JAVADOC:9SkipPageExceptionjakarta.servlet.jsp.SkipPageException.SkipPageException
( Throwable )
Creates a SkipPageException with the provided root cause. true
true
JSP:JAVADOC:10PageContextjakarta.servlet.jsp.PageContext.PageContext

true
true
JSP:JAVADOC:11voidjakarta.servlet.jsp.PageContext.initialize
( Servlet ,
ServletRequest ,
ServletResponse ,
String ,
boolean ,
int ,
boolean )
The initialize method is called to initialize an uninitialized PageContext so that it may be used by a JSP Implementation class to service an incoming request and response within it's _jspService() method. This method is typically called from JspFactory.getPageContext() in order to initialize state. This method is required to create an initial JspWriter, and associate the "out" name in page scope with this newly created object. This method should not be used by page or tag library authors. true
false
JSP:JAVADOC:12voidjakarta.servlet.jsp.PageContext.initialize
( Servlet ,
ServletRequest ,
ServletResponse ,
String ,
boolean ,
int ,
boolean )
throws IOException
during creation of JspWritertrue
false
JSP:JAVADOC:13voidjakarta.servlet.jsp.PageContext.initialize
( Servlet ,
ServletRequest ,
ServletResponse ,
String ,
boolean ,
int ,
boolean )
throws IllegalStateException
if out not correctly initializedtrue
false
JSP:JAVADOC:14voidjakarta.servlet.jsp.PageContext.initialize
( Servlet ,
ServletRequest ,
ServletResponse ,
String ,
boolean ,
int ,
boolean )
throws IllegalArgumentException
If one of the given parameters is invalidtrue
false
JSP:JAVADOC:15voidjakarta.servlet.jsp.PageContext.release
This method shall "reset" the internal state of a PageContext, releasing all internal references, and preparing the PageContext for potential reuse by a later invocation of initialize(). This method is typically called from JspFactory.releasePageContext(). Subclasses shall envelope this method. This method should not be used by page or tag library authors. true
false
JSP:JAVADOC:16HttpSessionjakarta.servlet.jsp.PageContext.getSession
The current value of the session object (an HttpSession). true
true
JSP:JAVADOC:17Objectjakarta.servlet.jsp.PageContext.getPage
The current value of the page object (In a Servlet environment this is an isntance of jakarta.servlet.Servlet). true
true
JSP:JAVADOC:18ServletRequestjakarta.servlet.jsp.PageContext.getRequest
The current value of the request object (a ServletRequest). true
true
JSP:JAVADOC:19ServletResponsejakarta.servlet.jsp.PageContext.getResponse
The current value of the response object (a ServletResponse). true
true
JSP:JAVADOC:20Exceptionjakarta.servlet.jsp.PageContext.getException
The current value of the exception object (an Exception). true
true
JSP:JAVADOC:21ServletConfigjakarta.servlet.jsp.PageContext.getServletConfig
The ServletConfig instance. true
true
JSP:JAVADOC:22ServletContextjakarta.servlet.jsp.PageContext.getServletContext
The ServletContext instance. true
true
JSP:JAVADOC:23voidjakarta.servlet.jsp.PageContext.forward
( String )
This method is used to re-direct, or "forward" the current ServletRequest and ServletResponse to another active component in the application. If the relativeUrlPath begins with a "/" then the URL specified is calculated relative to the DOCROOT of the ServletContext for this JSP. true
true
JSP:JAVADOC:24voidjakarta.servlet.jsp.PageContext.forward
( String )
This method is used to re-direct, or "forward" the current ServletRequest and ServletResponse to another active component in the application. If the path does not begin with a "/" then the URL specified is calculated relative to the URL of the request that was mapped to the calling JSP. true
true
JSP:JAVADOC:25voidjakarta.servlet.jsp.PageContext.forward
( String )
It is only valid to call this method from a Thread executing within a _jspService(...) method of a JSP. Once this method has been called successfully, it is illegal for the calling Thread to attempt to modify the ServletResponse object. Any such attempt to do so, shall result in undefined behavior. Typically, callers immediately return from _jspService(...) after calling this method.true
false
JSP:JAVADOC:26voidjakarta.servlet.jsp.PageContext.forward
( String )
throws ServletException
if the page that was forwarded to throws a ServletExceptiontrue
true
JSP:JAVADOC:27voidjakarta.servlet.jsp.PageContext.forward
( String )
throws IOException
if an I/O error occurred while forwardingtrue
true
JSP:JAVADOC:29voidjakarta.servlet.jsp.PageContext.forward
( String )
throws IllegalStateException
if ServletResponse is not in a state where a forward can be performedtrue
true
JSP:JAVADOC:31voidjakarta.servlet.jsp.PageContext.include
( String )
Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread. The output of the target resources processing of the request is written directly to the ServletResponse output stream. The current JspWriter "out" for this JSP is flushed as a side-effect of this call, prior to processing the include. If the relativeUrlPath begins with a "/" then the URL specified is calculated relative to the DOCROOT of the ServletContext for this JSP. true
true
JSP:JAVADOC:32voidjakarta.servlet.jsp.PageContext.include
( String )
Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread. The output of the target resources processing of the request is written directly to the ServletResponse output stream. The current JspWriter "out" for this JSP is flushed as a side-effect of this call, prior to processing the include. If the path does not begin with a "/" then the URL specified is calculated relative to the URL of the request that was mapped to the calling JSP. true
true
JSP:JAVADOC:33voidjakarta.servlet.jsp.PageContext.include
( String )
It is only valid to call this method from a Thread executing within a _jspService(...) method of a JSP.true
false
JSP:JAVADOC:34voidjakarta.servlet.jsp.PageContext.include
( String )
throws ServletException
if the inclusion throws a ServletException ??????true
true
JSP:JAVADOC:35voidjakarta.servlet.jsp.PageContext.include
( String )
throws IOException
if an I/O error occurred while includingtrue
true
JSP:JAVADOC:38voidjakarta.servlet.jsp.PageContext.include
( String ,
boolean )
Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread. If the relativeUrlPath begins with a "/" then the URL specified is calculated relative to the DOCROOT of the ServletContext for this JSP. true
true
JSP:JAVADOC:39voidjakarta.servlet.jsp.PageContext.include
( String ,
boolean )
Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread. If the path does not begin with a "/" then the URL specified is calculated relative to the URL of the request that was mapped to the calling JSP. true
true
JSP:JAVADOC:40voidjakarta.servlet.jsp.PageContext.include
( String ,
boolean )
Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread. The output of the target resources processing of the request is written directly to the current JspWriter returned by a call to getOut(). If flush is true, The current JspWriter "out" for this JSP is flushed as a side-effect of this call, prior to processing the include. true
true
JSP:JAVADOC:385voidjakarta.servlet.jsp.PageContext.include
( String ,
boolean )
Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread. The output of the target resources processing of the request is written directly to the current JspWriter returned by a call to getOut(). If flush is false, "out" is not flushed. true
true
JSP:JAVADOC:41voidjakarta.servlet.jsp.PageContext.include
( String ,
boolean )
It is only valid to call this method from a Thread executing within a _jspService(...) method of a JSP.true
false
JSP:JAVADOC:42voidjakarta.servlet.jsp.PageContext.include
( String ,
boolean )
throws ServletException
if the page that was forwarded to throws a ServletException ???>???true
true
JSP:JAVADOC:43voidjakarta.servlet.jsp.PageContext.include
( String ,
boolean )
throws IOException
if an I/O error occurred while includingtrue
true
JSP:JAVADOC:46voidjakarta.servlet.jsp.PageContext.handlePageException
( Exception )
This method is intended to process an unhandled "page" level exception by forwarding the exception to the specified error page for this JSP.true
true
JSP:JAVADOC:47voidjakarta.servlet.jsp.PageContext.handlePageException
( Exception )
If forwarding is not possible (for example because the response has already been committed) an implementation dependent mechanism should be used to invoke the error page (e.g. 'including' the error page instead).true
false
JSP:JAVADOC:48voidjakarta.servlet.jsp.PageContext.handlePageException
( Exception )
A JSP implementation class shall typically clean up any local state prior to invoking this and will return immediately thereafter. It is illegal to generate any output to the client, or to modify any ServletResponse state after invoking this call. This method is kept for backwards compatiblity reasons. Newly generated code should use PageContext.handlePageException(Throwable).true
false
JSP:JAVADOC:49voidjakarta.servlet.jsp.PageContext.handlePageException
( Exception )
throws ServletException
if an error occurs while invoking the error pagetrue
false
JSP:JAVADOC:50voidjakarta.servlet.jsp.PageContext.handlePageException
( Exception )
throws IOException
if an I/O error occurred while invoking the error pagetrue
false
JSP:JAVADOC:51voidjakarta.servlet.jsp.PageContext.handlePageException
( Exception )
throws NullPointerException
if the exception is nulltrue
true
JSP:JAVADOC:53voidjakarta.servlet.jsp.PageContext.handlePageException
( Throwable )
This method is identical to the handlePageException(Exception), except that it accepts a Throwable. This is the preferred method to use as it allows proper implementation of the errorpage semantics. This method is intended to process an unhandled "page" level exception by redirecting the exception to either the specified error page for this JSP. true
true
JSP:JAVADOC:54voidjakarta.servlet.jsp.PageContext.handlePageException
( Throwable )
This method is identical to the handlePageException(Exception), except that it accepts a Throwable. This is the preferred method to use as it allows proper implementation of the errorpage semantics. If no error page was specified, the result is implementation specific. true
false
JSP:JAVADOC:55voidjakarta.servlet.jsp.PageContext.handlePageException
( Throwable )
A JSP implementation class shall typically clean up any local state prior to invoking this and will return immediately thereafter. It is illegal to generate any output to the client, or to modify any ServletResponse state after invoking this call.true
false
JSP:JAVADOC:56voidjakarta.servlet.jsp.PageContext.handlePageException
( Throwable )
throws ServletException
if an error occurs while invoking the error pagetrue
false
JSP:JAVADOC:57voidjakarta.servlet.jsp.PageContext.handlePageException
( Throwable )
throws IOException
if an I/O error occurred while invoking the error pagetrue
false
JSP:JAVADOC:58voidjakarta.servlet.jsp.PageContext.handlePageException
( Throwable )
throws NullPointerException
if the exception is nulltrue
true
JSP:JAVADOC:59voidjakarta.servlet.jsp.PageContext.handlePageException
( Throwable )
throws SecurityException
if target resource cannot be accessed by callertrue
true
JSP:JAVADOC:60BodyContentjakarta.servlet.jsp.PageContext.pushBody
Return a new BodyContent object, save the current "out" JspWriter, and update the value of the "out" attribute in the page scope attribute namespace of the PageContext true
true
JSP:JAVADOC:61JspWriterjakarta.servlet.jsp.PageContext.popBody
Return the previous JspWriter "out" saved by the matching pushBody(), and update the value of the "out" attribute in the page scope attribute namespace of the JspConxtext true
true
JSP:JAVADOC:62ErrorDatajakarta.servlet.jsp.PageContext.getErrorData
Provides convenient access to error information. true
true
JSP:JAVADOC:63voidjakarta.servlet.jsp.JspWriter.newLine
Write a line separator. The line separator string is defined by the system property line.separator, and is not necessarily a single newline ('\n') character. true
true
JSP:JAVADOC:64voidjakarta.servlet.jsp.JspWriter.newLine

throws IOException
If an I/O error occurstrue
false
JSP:JAVADOC:65voidjakarta.servlet.jsp.JspWriter.print
( boolean )
Print a boolean value. The string produced by is translated into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the method. true
true
JSP:JAVADOC:66voidjakarta.servlet.jsp.JspWriter.print
( boolean )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:67voidjakarta.servlet.jsp.JspWriter.print
( char )
Print a character. The character is translated into one or more bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the method. true
true
JSP:JAVADOC:68voidjakarta.servlet.jsp.JspWriter.print
( char )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:69voidjakarta.servlet.jsp.JspWriter.print
( int )
Print an integer. The string produced by is translated into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the method. true
true
JSP:JAVADOC:70voidjakarta.servlet.jsp.JspWriter.print
( int )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:71voidjakarta.servlet.jsp.JspWriter.print
( long )
Print a long integer. The string produced by is translated into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the method. true
true
JSP:JAVADOC:72voidjakarta.servlet.jsp.JspWriter.print
( long )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:73voidjakarta.servlet.jsp.JspWriter.print
( float )
Print a floating-point number. The string produced by is translated into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the method. true
true
JSP:JAVADOC:74voidjakarta.servlet.jsp.JspWriter.print
( float )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:75voidjakarta.servlet.jsp.JspWriter.print
( double )
Print a double-precision floating-point number. The string produced by is translated into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the method. true
true
JSP:JAVADOC:76voidjakarta.servlet.jsp.JspWriter.print
( double )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:77voidjakarta.servlet.jsp.JspWriter.print
( char[] )
Print an array of characters. The characters are converted into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the method. true
true
JSP:JAVADOC:78voidjakarta.servlet.jsp.JspWriter.print
( char[] )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:79voidjakarta.servlet.jsp.JspWriter.print
( char[] )
throws NullPointerException
If <code>s</code> is <code>null</code>true
true
JSP:JAVADOC:80voidjakarta.servlet.jsp.JspWriter.print
( String )
Print a string. If the argument is null then the string "null" is printed. Otherwise, the string's characters are converted into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the method. true
true
JSP:JAVADOC:81voidjakarta.servlet.jsp.JspWriter.print
( String )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:82voidjakarta.servlet.jsp.JspWriter.print
( Object )
Print an object. The string produced by the method is translated into bytes according to the platform's default character encoding, and these bytes are written in exactly the manner of the method. true
true
JSP:JAVADOC:83voidjakarta.servlet.jsp.JspWriter.print
( Object )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:84voidjakarta.servlet.jsp.JspWriter.println
Terminate the current line by writing the line separator string. The line separator string is defined by the system property line.separator, and is not necessarily a single newline character ('\n'). true
true
JSP:JAVADOC:85voidjakarta.servlet.jsp.JspWriter.println

throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:86voidjakarta.servlet.jsp.JspWriter.println
( boolean )
Print a boolean value and then terminate the line. This method behaves as though it invokes and then . true
true
JSP:JAVADOC:87voidjakarta.servlet.jsp.JspWriter.println
( boolean )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:88voidjakarta.servlet.jsp.JspWriter.println
( char )
Print a character and then terminate the line. This method behaves as though it invokes and then . true
true
JSP:JAVADOC:89voidjakarta.servlet.jsp.JspWriter.println
( char )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:90voidjakarta.servlet.jsp.JspWriter.println
( int )
Print an integer and then terminate the line. This method behaves as though it invokes and then . true
true
JSP:JAVADOC:91voidjakarta.servlet.jsp.JspWriter.println
( int )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:92voidjakarta.servlet.jsp.JspWriter.println
( long )
Print a long integer and then terminate the line. This method behaves as though it invokes and then . true
true
JSP:JAVADOC:93voidjakarta.servlet.jsp.JspWriter.println
( long )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:94voidjakarta.servlet.jsp.JspWriter.println
( float )
Print a floating-point number and then terminate the line. This method behaves as though it invokes and then . true
true
JSP:JAVADOC:95voidjakarta.servlet.jsp.JspWriter.println
( float )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:96voidjakarta.servlet.jsp.JspWriter.println
( double )
Print a double-precision floating-point number and then terminate the line. This method behaves as though it invokes and then . true
true
JSP:JAVADOC:97voidjakarta.servlet.jsp.JspWriter.println
( double )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:98voidjakarta.servlet.jsp.JspWriter.println
( char[] )
Print an array of characters and then terminate the line. This method behaves as though it invokes print(char[]) and then println(). true
true
JSP:JAVADOC:99voidjakarta.servlet.jsp.JspWriter.println
( char[] )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:100voidjakarta.servlet.jsp.JspWriter.println
( String )
Print a String and then terminate the line. This method behaves as though it invokes and then . true
true
JSP:JAVADOC:101voidjakarta.servlet.jsp.JspWriter.println
( String )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:102voidjakarta.servlet.jsp.JspWriter.println
( Object )
Print an Object and then terminate the line. This method behaves as though it invokes and then . true
true
JSP:JAVADOC:103voidjakarta.servlet.jsp.JspWriter.println
( Object )
throws IOException
If an error occured while writingtrue
false
JSP:JAVADOC:104voidjakarta.servlet.jsp.JspWriter.clear
Clear the contents of the buffer. If the buffer has been already been flushed then the clear operation shall throw an IOException to signal the fact that some data has already been irrevocably written to the client response stream. true
true
JSP:JAVADOC:105voidjakarta.servlet.jsp.JspWriter.clear

throws IOException
If an I/O error occurstrue
true
JSP:JAVADOC:106voidjakarta.servlet.jsp.JspWriter.clearBuffer
Clears the current contents of the buffer. Unlike clear(), this method will not throw an IOException if the buffer has already been flushed. It merely clears the current content of the buffer and returns. true
true
JSP:JAVADOC:107voidjakarta.servlet.jsp.JspWriter.clearBuffer

throws IOException
If an I/O error occurstrue
false
JSP:JAVADOC:108voidjakarta.servlet.jsp.JspWriter.flush
Flush the stream. If the stream has saved any characters from the various write() methods in a buffer, write them immediately to their intended destination. Then, if that destination is another character or byte stream, flush it. Thus one flush() invocation will flush all the buffers in a chain of Writers and OutputStreams. The method may be invoked indirectly if the buffer size is exceeded. Once a stream has been closed, further write() or flush() invocations will cause an IOException to be thrown. true
true
JSP:JAVADOC:109voidjakarta.servlet.jsp.JspWriter.flush

throws IOException
If an I/O error occurstrue
true
JSP:JAVADOC:110voidjakarta.servlet.jsp.JspWriter.close
Close the stream, flushing it first. This method needs not be invoked explicitly for the initial JspWriter as the code generated by the JSP container will automatically include a call to close(). Closing a previously-closed stream, unlike flush(), has no effect. true
true
JSP:JAVADOC:111voidjakarta.servlet.jsp.JspWriter.close

throws IOException
If an I/O error occurstrue
false
JSP:JAVADOC:112intjakarta.servlet.jsp.JspWriter.getBufferSize
This method returns the size of the buffer used by the JspWriter. true
true
JSP:JAVADOC:113intjakarta.servlet.jsp.JspWriter.getRemaining
This method returns the number of unused bytes in the buffer. true
true
JSP:JAVADOC:114booleanjakarta.servlet.jsp.JspWriter.isAutoFlush
This method indicates whether the JspWriter is autoFlushing. true
true
JSP:JAVADOC:115JspTagExceptionjakarta.servlet.jsp.JspTagException.JspTagException
( String )
Constructs a new JspTagException with the specified message. The message can be written to the server log and/or displayed for the user. true
true
JSP:JAVADOC:116JspTagExceptionjakarta.servlet.jsp.JspTagException.JspTagException
Constructs a new JspTagException with no message. true
true
JSP:JAVADOC:117JspTagExceptionjakarta.servlet.jsp.JspTagException.JspTagException
( String ,
Throwable )
Constructs a new JspTagException when the JSP Tag needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message. true
true
JSP:JAVADOC:118JspTagExceptionjakarta.servlet.jsp.JspTagException.JspTagException
( Throwable )
Constructs a new JSP Tag exception when the JSP Tag needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation. The exception's message is based on the localized message of the underlying exception. This method calls the getLocalizedMessage method on the Throwable exception to get a localized exception message. When subclassing JspTagException, this method can be overridden to create an exception message designed for a specific locale. true
true
JSP:JAVADOC:119JspFactoryjakarta.servlet.jsp.JspFactory.JspFactory

true
true
JSP:JAVADOC:120voidjakarta.servlet.jsp.JspFactory.setDefaultFactory
( JspFactory )
set the default factory for this implementation. It is illegal for any principal other than the JSP Engine runtime to call this method. true
false
JSP:JAVADOC:121JspFactoryjakarta.servlet.jsp.JspFactory.getDefaultFactory
Returns the default factory for this implementation. true
true
JSP:JAVADOC:122PageContextjakarta.servlet.jsp.JspFactory.getPageContext
( Servlet ,
ServletRequest ,
ServletResponse ,
String ,
boolean ,
int ,
boolean )
obtains an instance of an implementation dependent jakarta.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response. This method is typically called early in the processing of the _jspService() method of a JSP implementation class in order to obtain a PageContext object for the request being processed. Invoking this method shall result in the PageContext.initialize() method being invoked. The PageContext returned is properly initialized. All PageContext objects obtained via this method shall be released by invoking releasePageContext(). true
true
JSP:JAVADOC:123voidjakarta.servlet.jsp.JspFactory.releasePageContext
( PageContext )
called to release a previously allocated PageContext object. Results in PageContext.release() being invoked. This method should be invoked prior to returning from the _jspService() method of a JSP implementation class. true
true
JSP:JAVADOC:124JspEngineInfojakarta.servlet.jsp.JspFactory.getEngineInfo
called to get implementation-specific information on the current JSP engine. true
false
JSP:JAVADOC:125JspExceptionjakarta.servlet.jsp.JspException.JspException
Construct a JspException true
true
JSP:JAVADOC:126JspExceptionjakarta.servlet.jsp.JspException.JspException
( String )
Constructs a new JSP exception with the specified message. The message can be written to the server log and/or displayed for the user. true
true
JSP:JAVADOC:127JspExceptionjakarta.servlet.jsp.JspException.JspException
( String ,
Throwable )
Constructs a new JSP exception when the JSP needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message. true
true
JSP:JAVADOC:128JspExceptionjakarta.servlet.jsp.JspException.JspException
( Throwable )
Constructs a new JSP exception when the JSP needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation. The exception's message is based on the localized message of the underlying exception. This method calls the getLocalizedMessage method on the Throwable exception to get a localized exception message. When subclassing JspException, this method can be overridden to create an exception message designed for a specific locale. true
true
JSP:JAVADOC:129Throwablejakarta.servlet.jsp.JspException.getRootCause
Returns the exception that caused this JSP exception. true
true
JSP:JAVADOC:130JspEngineInfojakarta.servlet.jsp.JspEngineInfo.JspEngineInfo

true
true
JSP:JAVADOC:131Stringjakarta.servlet.jsp.JspEngineInfo.getSpecificationVersion
Return the version number of the JSP specification that is supported by this JSP engine. Specification version numbers that consists of positive decimal integers separated by periods ".", for example, "2.0" or "1.2.3.4.5.6.7". This allows an extensible number to be used to represent major, minor, micro, etc versions. The version number must begin with a number. true
true
JSP:JAVADOC:132JspContextjakarta.servlet.jsp.JspContext.JspContext

true
true
JSP:JAVADOC:380JspWriterjakarta.servlet.jsp.JspContext.popBody
Return the previous JspWriter 'out' saved by the matching pushBody() and update the value of the 'out' attribute in the page scope attribute namespace of the JspContext. true
true
JSP:JAVADOC:381JspWriterjakarta.servlet.jsp.JspContext.pushBody
( Writer )
Return a new JspWriter object that sends output to the provided writer.true
true
JSP:JAVADOC:133voidjakarta.servlet.jsp.JspContext.setAttribute
( String ,
Object )
Register the name and value specified with page scope semantics. true
true
JSP:JAVADOC:396voidjakarta.servlet.jsp.JspContext.setAttribute
( String ,
Object )
If the value passed is null, this has the same effect as calling removeAttribute(name, PageContext.PAGE_SCOPE). true
true
JSP:JAVADOC:134voidjakarta.servlet.jsp.JspContext.setAttribute
( String ,
Object )
throws NullPointerException
if the name is nulltrue
true
JSP:JAVADOC:135voidjakarta.servlet.jsp.JspContext.setAttribute
( String ,
Object ,
int )
register the name and value specified with appropriate scope semantics. true
true
JSP:JAVADOC:397voidjakarta.servlet.jsp.JspContext.setAttribute
( String ,
Object ,
int )
If the value passed in is null this has the same effect as calling removeAttribute(name, scope). true
true
JSP:JAVADOC:136voidjakarta.servlet.jsp.JspContext.setAttribute
( String ,
Object ,
int )
throws NullPointerException
if the name is nulltrue
true
JSP:JAVADOC:398voidjakarta.servlet.jsp.JspContext.setAttribute
( String ,
Object ,
int )
throws IllegalArgumentException
if the scope is invalidtrue
true
JSP:JAVADOC:399voidjakarta.servlet.jsp.JspContext.setAttribute
( String ,
Object ,
int )
throws IllegalStateException
If the scope is PageContext.SESSION_SCOPE but the page that was requested does not participate in a session or the session has been invalidated.true
true
JSP:JAVADOC:137voidjakarta.servlet.jsp.JspContext.setAttribute
( String ,
Object ,
int )
throws IllegalArgumentException
if the scope is invalidtrue
true
JSP:JAVADOC:138Objectjakarta.servlet.jsp.JspContext.getAttribute
( String )
Returns the object associated with the name in the page scope or null if not found. true
true
JSP:JAVADOC:139Objectjakarta.servlet.jsp.JspContext.getAttribute
( String )
throws NullPointerException
if the name is nulltrue
true
JSP:JAVADOC:141Objectjakarta.servlet.jsp.JspContext.getAttribute
( String ,
int )
Return the object associated with the name in the specified scope or null if not found. true
true
JSP:JAVADOC:142Objectjakarta.servlet.jsp.JspContext.getAttribute
( String ,
int )
throws NullPointerException
if the name is nulltrue
true
JSP:JAVADOC:143Objectjakarta.servlet.jsp.JspContext.getAttribute
( String ,
int )
throws IllegalArgumentException
if the scope is invalidtrue
true
JSP:JAVADOC:390Objectjakarta.servlet.jsp.JspContext.getAttribute
( String ,
int )
throws IllegalStateException
if the scope is PageContext.SESSION_SCOPE but the page that was requested does not participate in a session or the session has been invalidatedtrue
true
JSP:JAVADOC:144Objectjakarta.servlet.jsp.JspContext.findAttribute
( String )
Searches for the named attribute in page, request, session (if valid), and application scope(s) in order and returns the value associated or null. true
true
JSP:JAVADOC:387Objectjakarta.servlet.jsp.JspContext.findAttribute
( String )
throws NullPointerException
If the name is null true
true
JSP:JAVADOC:145voidjakarta.servlet.jsp.JspContext.removeAttribute
( String )
Remove the object reference associated with the given name from all scopes. Does nothing if there is no such object. true
true
JSP:JAVADOC:391voidjakarta.servlet.jsp.JspContext.removeAttribute
( String )
throws NullPointerException
if the name is null true
true
JSP:JAVADOC:146voidjakarta.servlet.jsp.JspContext.removeAttribute
( String ,
int )
Remove the object reference associated with the specified name in the given scope. Does nothing if there is no such object. true
true
JSP:JAVADOC:392voidjakarta.servlet.jsp.JspContext.removeAttribute
( String ,
int )
throws IllegalArgumentException
If the scope is invalid true
true
JSP:JAVADOC:393voidjakarta.servlet.jsp.JspContext.removeAttribute
( String ,
int )
throws NullPointerException
If the name is null true
true
JSP:JAVADOC:394voidjakarta.servlet.jsp.JspContext.removeAttribute
( String ,
int )
throws IllegalStateException
If the scope is PageContext.SESSION_SCOPE but the page that was requested does not particpate in a session or the session has been invalidated. true
true
JSP:JAVADOC:147intjakarta.servlet.jsp.JspContext.getAttributesScope
( String )
Get the scope where a given attribute is defined. true
true
JSP:JAVADOC:389intjakarta.servlet.jsp.JspContext.getAttributesScope
( String )
throws NullPointerException
if the name is null true
true
JSP:JAVADOC:148Enumerationjakarta.servlet.jsp.JspContext.getAttributeNamesInScope
( int )
Enumerate all the attributes in a given scope true
true
JSP:JAVADOC:387Enumerationjakarta.servlet.jsp.JspContext.getAttributeNamesInScope
( int )
throws IllegalArgumentException
if the scope is invalid true
true
JSP:JAVADOC:388Enumerationjakarta.servlet.jsp.JspContext.getAttributeNamesInScope
( int )
throws IllegalStateException
If the scope is PageContext.SESSION_SCOPE but the page that was requested does not participate in a session or the session has been invalidated. true
true
JSP:JAVADOC:149JspWriterjakarta.servlet.jsp.JspContext.getOut
The current value of the out object (a JspWriter). true
true
JSP:JAVADOC:150ExpressionEvaluatorjakarta.servlet.jsp.JspContext.getExpressionEvaluator
Provides programmatic access to the ExpressionEvaluator. The JSP Container must return a valid instance of an ExpressionEvaluator that can parse EL expressions. true
true
JSP:JAVADOC:151VariableResolverjakarta.servlet.jsp.JspContext.getVariableResolver
Returns an instance of a VariableResolver that provides access to the implicit objects specified in the JSP specification using this JspContext as the context object true
true
JSP:JAVADOC:152voidjakarta.servlet.jsp.JspPage.jspInit
The jspInit() method is invoked when the JSP page is initialized. It is the responsibility of the JSP implementation (and of the class mentioned by the extends attribute, if present) that at this point invocations to the getServletConfig() method will return the desired value. A JSP page can override this method by including a definition for it in a declaration element. A JSP page should redefine the init() method from Servlet. true
false
JSP:JAVADOC:153voidjakarta.servlet.jsp.JspPage.jspDestroy
The jspDestroy() method is invoked when the JSP page is about to be destroyed. A JSP page can override this method by including a definition for it in a declaration element. A JSP page should redefine the destroy() method from Servlet. true
false
JSP:JAVADOC:154voidjakarta.servlet.jsp.HttpJspPage._jspService
( HttpServletRequest ,
HttpServletResponse )
The _jspService() method corresponds to the body of the JSP page. This method is defined automatically by the JSP container and should never be defined by the JSP page author. If a superclass is specified using the extends attribute, that superclass may choose to perform some actions in its service() method before or after calling the _jspService() method. See using the extends attribute in the JSP_Engine chapter of the JSP specification. true
false
JSP:JAVADOC:155voidjakarta.servlet.jsp.HttpJspPage._jspService
( HttpServletRequest ,
HttpServletResponse )
throws ServletException
Thrown if an error occurred during the processing of the JSP and that the container should take appropriate action to clean up the request.true
false
JSP:JAVADOC:156voidjakarta.servlet.jsp.HttpJspPage._jspService
( HttpServletRequest ,
HttpServletResponse )
throws IOException
Thrown if an error occurred while writing the response for this page.true
false
JSP:JAVADOC:157ELParseExceptionjakarta.servlet.jsp.el.ELParseException.ELParseException
Creates an ELParseException with no detail message. true
true
JSP:JAVADOC:158ELParseExceptionjakarta.servlet.jsp.el.ELParseException.ELParseException
( String )
Creates an ELParseException with the provided detail message. true
true
JSP:JAVADOC:159ELExceptionjakarta.servlet.jsp.el.ELException.ELException
Creates an ELException with no detail message. true
true
JSP:JAVADOC:160ELExceptionjakarta.servlet.jsp.el.ELException.ELException
( String )
Creates an ELException with the provided detail message. true
true
JSP:JAVADOC:161ELExceptionjakarta.servlet.jsp.el.ELException.ELException
( Throwable )
Creates an ELException with the given root cause true
true
JSP:JAVADOC:162ELExceptionjakarta.servlet.jsp.el.ELException.ELException
( String ,
Throwable )
Creates an ELException with the given detail message and root cause. true
true
JSP:JAVADOC:163Throwablejakarta.servlet.jsp.el.ELException.getRootCause
Returns the root cause true
true
JSP:JAVADOC:165Methodjakarta.servlet.jsp.el.FunctionMapper.resolveFunction
( String ,
String )
Resolves the specified local name and prefix into a Java.lang.Method. Returns null if the prefix and local name are not found. true
true
JSP:JAVADOC:384Objectjakarta.servlet.jsp.el.VariableResolver.resolveVariable
( String )
Resolves the specified variable. Returns null if the variable is not found. true
true
JSP:JAVADOC:167Objectjakarta.servlet.jsp.el.VariableResolver.resolveVariable
( String ,
Object )
throws ELException
if a failure occurred while trying to resolve the given variabletrue
false
JSP:JAVADOC:379ExpressionEvaluatorjakarta.servlet.jsp.el.ExpressionEvaluator.ExpressionEvaluator
Default constructor.true
false
JSP:JAVADOC:168Expressionjakarta.servlet.jsp.el.ExpressionEvaluator.parseExpression
( String ,
Class ,
FunctionMapper ,
String )
Prepare an expression for later evaluation.true
true
JSP:JAVADOC:169Expressionjakarta.servlet.jsp.el.ExpressionEvaluator.parseExpression
( String ,
Class ,
FunctionMapper ,
String )
This method should perform syntactic validation of the expression; if in doing so it detects errors, it should raise an ELParseException. false
false
JSP:JAVADOC:170Expressionjakarta.servlet.jsp.el.ExpressionEvaluator.parseExpression
( String ,
Class ,
FunctionMapper ,
String )
throws ELException
Thrown if parsing errors were found.false
false
JSP:JAVADOC:171Objectjakarta.servlet.jsp.el.ExpressionEvaluator.evaluate
( String ,
Class ,
VariableResolver ,
FunctionMapper ,
String )
Evaluates an expression.true
true
JSP:JAVADOC:172Objectjakarta.servlet.jsp.el.ExpressionEvaluator.evaluate
( String ,
Class ,
VariableResolver ,
FunctionMapper ,
String )
This method may perform some syntactic validation and, if so, it should raise an ELParseException error if it encounters syntactic errors. EL evaluation errors should cause an ELException to be raised.false
false
JSP:JAVADOC:173Objectjakarta.servlet.jsp.el.ExpressionEvaluator.evaluate
( String ,
Class ,
VariableResolver ,
FunctionMapper ,
String )
throws ELException
Thrown if the expression evaluation failed.true
true
JSP:JAVADOC:378Expressionjakarta.servlet.jsp.el.Expression.Expression
Default constructortrue
false
JSP:JAVADOC:174Objectjakarta.servlet.jsp.el.Expression.evaluate
( VariableResolver )
Evaluates an expression that was previously prepared.true
true
JSP:JAVADOC:175Objectjakarta.servlet.jsp.el.Expression.evaluate
( VariableResolver )
In some implementations preparing an expression involves full syntactic validation, but others may not do so. Evaluating the expression may raise an ELParseException as well as other ELExceptions due to run-time evaluation. false
false
JSP:JAVADOC:176Objectjakarta.servlet.jsp.el.Expression.evaluate
( VariableResolver )
throws ELException
Thrown if the expression evaluation failed.true
true
JSP:JAVADOC:177VariableInfojakarta.servlet.jsp.tagext.VariableInfo.VariableInfo
( String ,
String ,
boolean ,
int )
Constructor These objects can be created (at translation time) by the TagExtraInfo instances. true
true
JSP:JAVADOC:178Stringjakarta.servlet.jsp.tagext.VariableInfo.getVarName
Returns the name of the scripting variable true
true
JSP:JAVADOC:179Stringjakarta.servlet.jsp.tagext.VariableInfo.getClassName
Returns the type of this variable true
true
JSP:JAVADOC:180booleanjakarta.servlet.jsp.tagext.VariableInfo.getDeclare
Returns whether this is a new variable. If so, in some languages this will require a declaration. true
true
JSP:JAVADOC:181intjakarta.servlet.jsp.tagext.VariableInfo.getScope
Returns the lexical scope of the variable. true
true
JSP:JAVADOC:182ValidationMessagejakarta.servlet.jsp.tagext.ValidationMessage.ValidationMessage
( String ,
String )
Create a ValidationMessage. The message String should be non-null. The value of id may be null, if the message is not specific to any XML element, or if no jsp:id attributes were passed on. If non-null, the value of id must be the value of a jsp:id attribute for the PageData passed into the validate() method. true
true
JSP:JAVADOC:183Stringjakarta.servlet.jsp.tagext.ValidationMessage.getId
Get the jsp:id. Null means that there is no information available. true
true
JSP:JAVADOC:184Stringjakarta.servlet.jsp.tagext.ValidationMessage.getMessage
Get the localized validation message. true
true
JSP:JAVADOC:185TagVariableInfojakarta.servlet.jsp.tagext.TagVariableInfo.TagVariableInfo
( String ,
String ,
String ,
boolean ,
int )
Constructor for TagVariableInfo true
true
JSP:JAVADOC:187Stringjakarta.servlet.jsp.tagext.TagVariableInfo.getNameGiven
The body of the <name-given> element true
true
JSP:JAVADOC:188Stringjakarta.servlet.jsp.tagext.TagVariableInfo.getNameFromAttribute
The body of the <name-from-attribute> element. This is the name of an attribute whose (translation-time) value will give the name of the variable. One of or is required. true
true
JSP:JAVADOC:189Stringjakarta.servlet.jsp.tagext.TagVariableInfo.getClassName
The body of the <class-name> element. true
true
JSP:JAVADOC:190booleanjakarta.servlet.jsp.tagext.TagVariableInfo.getDeclare
The body of the <declare> element true
true
JSP:JAVADOC:191intjakarta.servlet.jsp.tagext.TagVariableInfo.getScope
The body of the <scope> element true
true
JSP:JAVADOC:193TagSupportjakarta.servlet.jsp.tagext.TagSupport.TagSupport
Default constructor, all subclasses are required to define only a public constructor with the same signature, and to call the superclass constructor. This constructor is called by the code generated by the JSP translator. true
true
JSP:JAVADOC:194Tagjakarta.servlet.jsp.tagext.TagSupport.findAncestorWithClass
( Tag ,
Class )
Find the instance of a given class type that is closest to a given instance. This method uses the getParent method from the Tag interface. This method is used for coordination among cooperating tags. The current version of the specification only provides one formal way of indicating the observable type of a tag handler: its tag handler implementation class, described in the tag-class subelement of the tag element. This is extended in an informal manner by allowing the tag library author to indicate in the description subelement an observable type. The type should be a subtype of the tag handler implementation class or void. This addititional constraint can be exploited by a specialized container that knows about that specific tag library, as in the case of the JSP standard tag library. When a tag library author provides information on the observable type of a tag handler, client programmatic code should adhere to that constraint. Specifically, the Class passed to findAncestorWithClass should be a subtype of the observable type. true
true
JSP:JAVADOC:195intjakarta.servlet.jsp.tagext.TagSupport.doStartTag
Default processing of the start tag, returning SKIP_BODY. true
true
JSP:JAVADOC:196intjakarta.servlet.jsp.tagext.TagSupport.doStartTag

throws JspException
if an error occurs while processing this tagtrue
false
JSP:JAVADOC:197intjakarta.servlet.jsp.tagext.TagSupport.doEndTag
Default processing of the end tag returning EVAL_PAGE. true
true
JSP:JAVADOC:198intjakarta.servlet.jsp.tagext.TagSupport.doEndTag

throws JspException
if an error occurs while processing this tagtrue
false
JSP:JAVADOC:199intjakarta.servlet.jsp.tagext.TagSupport.doAfterBody
Default processing for a body true
true
JSP:JAVADOC:200intjakarta.servlet.jsp.tagext.TagSupport.doAfterBody

throws JspException
if an error occurs while processing this tagtrue
false
JSP:JAVADOC:201voidjakarta.servlet.jsp.tagext.TagSupport.release
Release state. true
false
JSP:JAVADOC:202voidjakarta.servlet.jsp.tagext.TagSupport.setParent
( Tag )
Set the nesting tag of this tag. true
true
JSP:JAVADOC:203Tagjakarta.servlet.jsp.tagext.TagSupport.getParent
The Tag instance most closely enclosing this tag instance. true
true
JSP:JAVADOC:204voidjakarta.servlet.jsp.tagext.TagSupport.setId
( String )
Set the id attribute for this tag. true
true
JSP:JAVADOC:205Stringjakarta.servlet.jsp.tagext.TagSupport.getId
The value of the id attribute of this tag; or null. true
true
JSP:JAVADOC:206voidjakarta.servlet.jsp.tagext.TagSupport.setPageContext
( PageContext )
Set the page context. true
true
JSP:JAVADOC:207voidjakarta.servlet.jsp.tagext.TagSupport.setValue
( String ,
Object )
Associate a value with a String key. true
true
JSP:JAVADOC:208Objectjakarta.servlet.jsp.tagext.TagSupport.getValue
( String )
Get a the value associated with a key. true
true
JSP:JAVADOC:209voidjakarta.servlet.jsp.tagext.TagSupport.removeValue
( String )
Remove a value associated with a key. true
true
JSP:JAVADOC:210Enumerationjakarta.servlet.jsp.tagext.TagSupport.getValues
Enumerate the keys for the values kept by this tag handler. true
true
JSP:JAVADOC:211TagLibraryValidatorjakarta.servlet.jsp.tagext.TagLibraryValidator.TagLibraryValidator

true
true
JSP:JAVADOC:212voidjakarta.servlet.jsp.tagext.TagLibraryValidator.setInitParameters
( Map )
Set the init data in the TLD for this validator. Parameter names are keys, and parameter values are the values. true
true
JSP:JAVADOC:213Mapjakarta.servlet.jsp.tagext.TagLibraryValidator.getInitParameters
Get the init parameters data as an immutable Map. Parameter names are keys, and parameter values are the values. true
true
JSP:JAVADOC:214ValidationMessage[]jakarta.servlet.jsp.tagext.TagLibraryValidator.validate
( String ,
String ,
PageData )
Validate a JSP page. This will get invoked once per directive in the JSP page. This method will return null if the page is valid; otherwise the method should return an array of ValidationMessage objects. An array of length zero is also interpreted as no errors. true
true
JSP:JAVADOC:386ValidationMessage[]jakarta.servlet.jsp.tagext.TagLibraryValidator.validate
( String ,
String ,
PageData )
Validate a JSP page. This will get invoked once per directive in the JSP page. An array of length greater than zero is interpreted as an error (translation error occurs). true
true
JSP:JAVADOC:215voidjakarta.servlet.jsp.tagext.TagLibraryValidator.release
Release any data kept by this instance for validation purposes true
true
JSP:JAVADOC:216Stringjakarta.servlet.jsp.tagext.TagLibraryInfo.getURI
The value of the uri attribute from the taglib directive for this library. true
true
JSP:JAVADOC:218Stringjakarta.servlet.jsp.tagext.TagLibraryInfo.getPrefixString
The prefix assigned to this taglib from the taglib directive true
true
JSP:JAVADOC:219Stringjakarta.servlet.jsp.tagext.TagLibraryInfo.getShortName
The preferred short name (prefix) as indicated in the TLD. This may be used by authoring tools as the preferred prefix to use when creating an taglib directive for this library. true
true
JSP:JAVADOC:220Stringjakarta.servlet.jsp.tagext.TagLibraryInfo.getReliableURN
The "reliable" URN indicated in the TLD (the uri element). This may be used by authoring tools as a global identifier to use when creating a taglib directive for this library. true
true
JSP:JAVADOC:221Stringjakarta.servlet.jsp.tagext.TagLibraryInfo.getInfoString
Information (documentation) for this TLD. true
true
JSP:JAVADOC:222Stringjakarta.servlet.jsp.tagext.TagLibraryInfo.getRequiredVersion
A string describing the required version of the JSP container. true
true
JSP:JAVADOC:223TagInfo[]jakarta.servlet.jsp.tagext.TagLibraryInfo.getTags
An array describing the tags that are defined in this tag library. true
true
JSP:JAVADOC:224TagFileInfo[]jakarta.servlet.jsp.tagext.TagLibraryInfo.getTagFiles
An array describing the tag files that are defined in this tag library. true
true
JSP:JAVADOC:225TagInfojakarta.servlet.jsp.tagext.TagLibraryInfo.getTag
( String )
Get the TagInfo for a given tag name, looking through all the tags in this tag library. Returns null if no tag is found. true
true
JSP:JAVADOC:226TagFileInfojakarta.servlet.jsp.tagext.TagLibraryInfo.getTagFile
( String )
Get the TagFileInfo for a given tag name, looking through all the tag files in this tag library. Returns null if no tag file is found. true
true
JSP:JAVADOC:227FunctionInfo[]jakarta.servlet.jsp.tagext.TagLibraryInfo.getFunctions
An array describing the functions that are defined in this tag library. true
true
JSP:JAVADOC:228FunctionInfojakarta.servlet.jsp.tagext.TagLibraryInfo.getFunction
( String )
Get the FunctionInfo for a given function name, looking through all the functions in this tag library. true
true
JSP:JAVADOC:229TagInfojakarta.servlet.jsp.tagext.TagInfo.TagInfo
( String ,
String ,
String ,
String ,
TagLibraryInfo ,
TagExtraInfo ,
TagAttributeInfo[] )
Constructor for TagInfo from data in the JSP 2.0 format for TLD. This class is to be instantiated only from the TagLibrary code under request from some JSP code that is parsing a TLD (Tag Library Descriptor). Note that, since TagLibibraryInfo reflects both TLD information and taglib directive information, a TagInfo instance is dependent on a taglib directive. This is probably a design error, which may be fixed in the future. true
true
JSP:JAVADOC:230TagInfojakarta.servlet.jsp.tagext.TagInfo.TagInfo
( String ,
String ,
String ,
String ,
TagLibraryInfo ,
TagExtraInfo ,
TagAttributeInfo[] ,
String ,
String ,
String ,
TagVariableInfo[] )
Constructor for TagInfo from data in the JSP 1.2 format for TLD. This class is to be instantiated only from the TagLibrary code under request from some JSP code that is parsing a TLD (Tag Library Descriptor). Note that, since TagLibibraryInfo reflects both TLD information and taglib directive information, a TagInfo instance is dependent on a taglib directive. This is probably a design error, which may be fixed in the future. true
true
JSP:JAVADOC:231TagInfojakarta.servlet.jsp.tagext.TagInfo.TagInfo
( String ,
String ,
String ,
String ,
TagLibraryInfo ,
TagExtraInfo ,
TagAttributeInfo[] ,
String ,
String ,
String ,
TagVariableInfo[] ,
boolean )
Constructor for TagInfo from data in the JSP 2.0 format for TLD. This class is to be instantiated only from the TagLibrary code under request from some JSP code that is parsing a TLD (Tag Library Descriptor). Note that, since TagLibibraryInfo reflects both TLD information and taglib directive information, a TagInfo instance is dependent on a taglib directive. This is probably a design error, which may be fixed in the future. true
true
JSP:JAVADOC:232Stringjakarta.servlet.jsp.tagext.TagInfo.getTagName
The name of the Tag. true
true
JSP:JAVADOC:233TagAttributeInfo[]jakarta.servlet.jsp.tagext.TagInfo.getAttributes
Attribute information (in the TLD) on this tag. The return is an array describing the attributes of this tag, as indicated in the TLD. or a zero-length array if the tag has no attributes. true
true
JSP:JAVADOC:234VariableInfo[]jakarta.servlet.jsp.tagext.TagInfo.getVariableInfo
( TagData )
Information on the scripting objects created by this tag at runtime. This is a convenience method on the associated TagExtraInfo class. Default is null if the tag has no "id" attribute, otherwise, {"id", Object} true
true
JSP:JAVADOC:235booleanjakarta.servlet.jsp.tagext.TagInfo.isValid
( TagData )
Translation-time validation of the attributes. This is a convenience method on the associated TagExtraInfo class. true
true
JSP:JAVADOC:236ValidationMessage[]jakarta.servlet.jsp.tagext.TagInfo.validate
( TagData )
Translation-time validation of the attributes. This is a convenience method on the associated TagExtraInfo class. true
true
JSP:JAVADOC:237voidjakarta.servlet.jsp.tagext.TagInfo.setTagExtraInfo
( TagExtraInfo )
Set the instance for extra tag information true
true
JSP:JAVADOC:238TagExtraInfojakarta.servlet.jsp.tagext.TagInfo.getTagExtraInfo
The instance (if any) for extra tag information true
true
JSP:JAVADOC:239Stringjakarta.servlet.jsp.tagext.TagInfo.getTagClassName
Name of the class that provides the handler for this tag. true
true
JSP:JAVADOC:240Stringjakarta.servlet.jsp.tagext.TagInfo.getBodyContent
The bodycontent information for this tag. If the bodycontent is not defined for thsi tag, the defaul of JSP will be returned. true
true
JSP:JAVADOC:241Stringjakarta.servlet.jsp.tagext.TagInfo.getInfoString
The information string for the tag. true
true
JSP:JAVADOC:242voidjakarta.servlet.jsp.tagext.TagInfo.setTagLibrary
( TagLibraryInfo )
Set the TagLibraryInfo property. Note that a TagLibraryInfo element is dependent not just on the TLD information but also on the specific taglib instance used. This means that a fair amount of work needs to be done to construct and initialize TagLib objects. If used carefully, this setter can be used to avoid having to create new TagInfo elements for each taglib directive. true
true
JSP:JAVADOC:243TagLibraryInfojakarta.servlet.jsp.tagext.TagInfo.getTagLibrary
The instance of TabLibraryInfo we belong to. true
true
JSP:JAVADOC:244Stringjakarta.servlet.jsp.tagext.TagInfo.getDisplayName
Get the displayName or null if not defined. true
true
JSP:JAVADOC:245Stringjakarta.servlet.jsp.tagext.TagInfo.getSmallIcon
Get the path to the small icon true
true
JSP:JAVADOC:246Stringjakarta.servlet.jsp.tagext.TagInfo.getLargeIcon
Get the path to the large icon true
true
JSP:JAVADOC:247TagVariableInfo[]jakarta.servlet.jsp.tagext.TagInfo.getTagVariableInfos
Get TagVariableInfo objects associated with this TagInfo true
true
JSP:JAVADOC:248booleanjakarta.servlet.jsp.tagext.TagInfo.hasDynamicAttributes
Get dynamicAttributes associated with this TagInfo true
true
JSP:JAVADOC:258TagFileInfojakarta.servlet.jsp.tagext.TagFileInfo.TagFileInfo
( String ,
String ,
TagInfo )
Constructor for TagFileInfo from data in the JSP 2.0 format for TLD. This class is to be instantiated only from the TagLibrary code under request from some JSP code that is parsing a TLD (Tag Library Descriptor). Note that, since TagLibibraryInfo reflects both TLD information and taglib directive information, a TagFileInfo instance is dependent on a taglib directive. This is probably a design error, which may be fixed in the future. true
true
JSP:JAVADOC:259Stringjakarta.servlet.jsp.tagext.TagFileInfo.getName
The unique action name of this tag. true
true
JSP:JAVADOC:260Stringjakarta.servlet.jsp.tagext.TagFileInfo.getPath
Where to find the .tag file implementing this action. true
true
JSP:JAVADOC:261TagInfojakarta.servlet.jsp.tagext.TagFileInfo.getTagInfo
Returns information about this tag, parsed from the directives in the tag file. true
true
JSP:JAVADOC:262TagExtraInfojakarta.servlet.jsp.tagext.TagExtraInfo.TagExtraInfo

true
true
JSP:JAVADOC:263VariableInfo[]jakarta.servlet.jsp.tagext.TagExtraInfo.getVariableInfo
( TagData )
information on scripting variables defined by the tag associated with this TagExtraInfo instance. Request-time attributes are indicated as such in the TagData parameter. true
true
JSP:JAVADOC:264booleanjakarta.servlet.jsp.tagext.TagExtraInfo.isValid
( TagData )
Translation-time validation of the attributes. Request-time attributes are indicated as such in the TagData parameter. Note that the preferred way to do validation is with the validate() method, since it can return more detailed information. true
true
JSP:JAVADOC:265ValidationMessage[]jakarta.servlet.jsp.tagext.TagExtraInfo.validate
( TagData )
Translation-time validation of the attributes. Request-time attributes are indicated as such in the TagData parameter. Because of the higher quality validation messages possible, this is the preferred way to do validation (although isValid() still works). JSP 2.0 and higher containers call validate() instead of isValid(). The default implementation of this method is to call isValid(). If isValid() returns false, a generic ValidationMessage[] is returned indicating isValid() returned false. true
true
JSP:JAVADOC:266voidjakarta.servlet.jsp.tagext.TagExtraInfo.setTagInfo
( TagInfo )
Set the TagInfo for this class. true
true
JSP:JAVADOC:267TagInfojakarta.servlet.jsp.tagext.TagExtraInfo.getTagInfo
Get the TagInfo for this class. true
true
JSP:JAVADOC:268TagDatajakarta.servlet.jsp.tagext.TagData.TagData
( Object[][] )
Constructor for TagData. A typical constructor may be static final Object[][] att = {{"connection", "conn0"}, {"id", "query0"}}; static final TagData td = new TagData(att); All values must be Strings except for those holding the distinguished object REQUEST_TIME_VALUE. true
true
JSP:JAVADOC:269TagDatajakarta.servlet.jsp.tagext.TagData.TagData
( Hashtable )
Constructor for a TagData. If you already have the attributes in a hashtable, use this constructor. true
true
JSP:JAVADOC:270Stringjakarta.servlet.jsp.tagext.TagData.getId
The value of the tag's id attribute. true
true
JSP:JAVADOC:271Objectjakarta.servlet.jsp.tagext.TagData.getAttribute
( String )
The value of the attribute. If a static value is specified for an attribute that accepts a request-time attribute expression then that static value is returned even if the value is provided in the body of an action. The distinguised object REQUEST_TIME_VALUE is only returned if the value is specified as a request-time attribute expression or via the jsp:attribute action with a body that contains dynamic content (scripts, scripting expressions, EL expressions, standard actions, or custom actions).true
true
JSP:JAVADOC:272voidjakarta.servlet.jsp.tagext.TagData.setAttribute
( String ,
Object )
Set the value of an attribute. true
true
JSP:JAVADOC:273Stringjakarta.servlet.jsp.tagext.TagData.getAttributeString
( String )
Get the value for a given attribute. true
true
JSP:JAVADOC:274Stringjakarta.servlet.jsp.tagext.TagData.getAttributeString
( String )
throws ClassCastException
if attribute value is not a Stringtrue
true
JSP:JAVADOC:275Enumerationjakarta.servlet.jsp.tagext.TagData.getAttributes
Enumerates the attributes. true
true
JSP:JAVADOC:276TagAttributeInfojakarta.servlet.jsp.tagext.TagAttributeInfo.TagAttributeInfo
( String ,
boolean ,
String ,
boolean )
Constructor for TagAttributeInfo. This class is to be instantiated only from the TagLibrary code under request from some JSP code that is parsing a TLD (Tag Library Descriptor). true
true
JSP:JAVADOC:277TagAttributeInfojakarta.servlet.jsp.tagext.TagAttributeInfo.TagAttributeInfo
( String ,
boolean ,
String ,
boolean ,
boolean )
JSP 2.0 Constructor for TagAttributeInfo. This class is to be instantiated only from the TagLibrary code under request from some JSP code that is parsing a TLD (Tag Library Descriptor). true
true
JSP:JAVADOC:278Stringjakarta.servlet.jsp.tagext.TagAttributeInfo.getName
The name of this attribute. true
true
JSP:JAVADOC:279Stringjakarta.servlet.jsp.tagext.TagAttributeInfo.getTypeName
The type (as a String) of this attribute. true
true
JSP:JAVADOC:280booleanjakarta.servlet.jsp.tagext.TagAttributeInfo.canBeRequestTime
Whether this attribute can hold a request-time value. true
true
JSP:JAVADOC:281booleanjakarta.servlet.jsp.tagext.TagAttributeInfo.isRequired
Whether this attribute is required. true
true
JSP:JAVADOC:282TagAttributeInfojakarta.servlet.jsp.tagext.TagAttributeInfo.getIdAttribute
( TagAttributeInfo[] )
Convenience static method that goes through an array of TagAttributeInfo objects and looks for "id". true
true
JSP:JAVADOC:283booleanjakarta.servlet.jsp.tagext.TagAttributeInfo.isFragment
Whether this attribute is of type JspFragment true
true
JSP:JAVADOC:284Stringjakarta.servlet.jsp.tagext.TagAttributeInfo.toString
Returns a String representation of this TagAttributeInfo, suitable for debugging purposes. true
true
JSP:JAVADOC:285TagAdapterjakarta.servlet.jsp.tagext.TagAdapter.TagAdapter
( SimpleTag )
Creates a new TagAdapter that wraps the given SimeplTag and returns the parent tag when getParent() is called. true
true
JSP:JAVADOC:286voidjakarta.servlet.jsp.tagext.TagAdapter.setPageContext
( PageContext )
Must not be called. true
true
JSP:JAVADOC:287voidjakarta.servlet.jsp.tagext.TagAdapter.setPageContext
( PageContext )
throws UnsupportedOperationException
Must not be calledtrue
true
JSP:JAVADOC:288voidjakarta.servlet.jsp.tagext.TagAdapter.setParent
( Tag )
Must not be called. The parent of this tag is always getAdaptee().getParent(). true
true
JSP:JAVADOC:289voidjakarta.servlet.jsp.tagext.TagAdapter.setParent
( Tag )
throws UnsupportedOperationException
Must not be called.true
true
JSP:JAVADOC:290Tagjakarta.servlet.jsp.tagext.TagAdapter.getParent
Returns the value passed to setParent(). This will either be the enclosing Tag (if parent implements Tag), or an adapter to the enclosing Tag (if parent does not implement Tag). true
true
JSP:JAVADOC:291JspTagjakarta.servlet.jsp.tagext.TagAdapter.getAdaptee
Gets the tag that is being adapted to the Tag interface. This should be an instance of SimpleTag in JSP 2.0, but room is left for other kinds of tags in future spec versions. true
true
JSP:JAVADOC:292intjakarta.servlet.jsp.tagext.TagAdapter.doStartTag
Must not be called. true
false
JSP:JAVADOC:293intjakarta.servlet.jsp.tagext.TagAdapter.doStartTag

throws JspException
never throwntrue
false
JSP:JAVADOC:294intjakarta.servlet.jsp.tagext.TagAdapter.doStartTag

throws UnsupportedOperationException
Must not be calledtrue
false
JSP:JAVADOC:295intjakarta.servlet.jsp.tagext.TagAdapter.doEndTag
Must not be called. true
false
JSP:JAVADOC:296intjakarta.servlet.jsp.tagext.TagAdapter.doEndTag

throws JspException
never throwntrue
false
JSP:JAVADOC:297intjakarta.servlet.jsp.tagext.TagAdapter.doEndTag

throws UnsupportedOperationException
Must not be calledtrue
false
JSP:JAVADOC:298voidjakarta.servlet.jsp.tagext.TagAdapter.release
Must not be called. true
false
JSP:JAVADOC:299voidjakarta.servlet.jsp.tagext.TagAdapter.release

throws UnsupportedOperationException
Must not be calledtrue
false
JSP:JAVADOC:300SimpleTagSupportjakarta.servlet.jsp.tagext.SimpleTagSupport.SimpleTagSupport

true
true
JSP:JAVADOC:301voidjakarta.servlet.jsp.tagext.SimpleTagSupport.doTag
Default processing of the tag does nothing. true
true
JSP:JAVADOC:302voidjakarta.servlet.jsp.tagext.SimpleTagSupport.doTag

throws JspException
Subclasses can throw JspException to indicate an error occurred while processing this tag.true
false
JSP:JAVADOC:303voidjakarta.servlet.jsp.tagext.SimpleTagSupport.doTag

throws IOException
Subclasses can throw IOException if there was an error writing to the output streamtrue
false
JSP:JAVADOC:304voidjakarta.servlet.jsp.tagext.SimpleTagSupport.doTag

throws SkipPageException
If the page that (either directly or indirectly) invoked this tag is to cease evaluation. A Simple Tag Handler generated from a tag file must throw this exception if an invoked Classic Tag Handler returned SKIP_PAGE or if an invoked Simple Tag Handler threw SkipPageException or if an invoked Jsp Fragment threw a SkipPageException.true
true
JSP:JAVADOC:305voidjakarta.servlet.jsp.tagext.SimpleTagSupport.setParent
( JspTag )
Sets the parent of this tag, for collaboration purposes. true
true
JSP:JAVADOC:306JspTagjakarta.servlet.jsp.tagext.SimpleTagSupport.getParent
Returns the parent of this tag, for collaboration purposes. true
true
JSP:JAVADOC:307voidjakarta.servlet.jsp.tagext.SimpleTagSupport.setJspContext
( JspContext )
Stores the provided JSP context in the protected jspContext field. true
true
JSP:JAVADOC:308JspContextjakarta.servlet.jsp.tagext.SimpleTagSupport.getJspContext
Returns the page context passed in by the container via setJspContext. true
true
JSP:JAVADOC:309voidjakarta.servlet.jsp.tagext.SimpleTagSupport.setJspBody
( JspFragment )
Stores the provided JspFragment. true
true
JSP:JAVADOC:310JspFragmentjakarta.servlet.jsp.tagext.SimpleTagSupport.getJspBody
Returns the body passed in by the container via setJspBody true
true
JSP:JAVADOC:311JspTagjakarta.servlet.jsp.tagext.SimpleTagSupport.findAncestorWithClass
( JspTag ,
Class )
Find the instance of a given class type that is closest to a given instance. This method uses the getParent method from the Tag and/or SimpleTag interfaces. This method is used for coordination among cooperating tags. For every instance of TagAdapter encoutnered will traversing the ancestors the tag handler returned by TagAdapter.getAdatpee() - instead of the TagAdapter itself - is compared to klass. If the tag handler matches it - and not its TagAdapter - is returned. The current version of the specification only provides one formal way of indicating the observable type of a tag handler: its tag handler implementation class, described in the tag-class subelement of the tag element. This is extended in an informal manner by allowing the tag library author to indicate in the description subelement an observable type. The type should be a subtype of the tag handler implementation class or void. This addititional constraint can be exploited by a specialized container that knows about that specific tag library, as in the case of the JSP standard tag library. When a tag library author provides information on the observable type of a tag handler, client programmatic code should adhere to that constraint. Specifically, the Class passed to findAncestorWithClass should be a subtype of the observable type. true
true
JSP:JAVADOC:312PageDatajakarta.servlet.jsp.tagext.PageData.PageData

true
true
JSP:JAVADOC:313InputStreamjakarta.servlet.jsp.tagext.PageData.getInputStream
Returns an input stream on the XML view of a JSP page. The stream is encoded in UTF-8. Recall tht the XML view of a JSP page has the include directives expanded. true
true
JSP:JAVADOC:314FunctionInfojakarta.servlet.jsp.tagext.FunctionInfo.FunctionInfo
( String ,
String ,
String )
Constructor for FunctionInfo. true
true
JSP:JAVADOC:315Stringjakarta.servlet.jsp.tagext.FunctionInfo.getName
The name of the function. true
true
JSP:JAVADOC:316Stringjakarta.servlet.jsp.tagext.FunctionInfo.getFunctionClass
The class of the function. true
true
JSP:JAVADOC:317Stringjakarta.servlet.jsp.tagext.FunctionInfo.getFunctionSignature
The signature of the function. true
true
JSP:JAVADOC:318BodyTagSupportjakarta.servlet.jsp.tagext.BodyTagSupport.BodyTagSupport
Default constructor, all subclasses are required to only define a public constructor with the same signature, and to call the superclass constructor. This constructor is called by the code generated by the JSP translator. true
true
JSP:JAVADOC:319intjakarta.servlet.jsp.tagext.BodyTagSupport.doStartTag
Default processing of the start tag returning EVAL_BODY_BUFFERED true
true
JSP:JAVADOC:320intjakarta.servlet.jsp.tagext.BodyTagSupport.doStartTag

throws JspException
if an error occurred while processing this tagtrue
false
JSP:JAVADOC:321intjakarta.servlet.jsp.tagext.BodyTagSupport.doEndTag
Default processing of the end tag returning EVAL_PAGE. true
true
JSP:JAVADOC:322intjakarta.servlet.jsp.tagext.BodyTagSupport.doEndTag

throws JspException
if an error occurred while processing this tagtrue
false
JSP:JAVADOC:323voidjakarta.servlet.jsp.tagext.BodyTagSupport.setBodyContent
( BodyContent )
Prepare for evaluation of the body: stash the bodyContent away. true
true
JSP:JAVADOC:324voidjakarta.servlet.jsp.tagext.BodyTagSupport.doInitBody
Prepare for evaluation of the body just before the first body evaluation: no action. true
true
JSP:JAVADOC:325voidjakarta.servlet.jsp.tagext.BodyTagSupport.doInitBody

throws JspException
if an error occurred while processing this tagtrue
false
JSP:JAVADOC:326intjakarta.servlet.jsp.tagext.BodyTagSupport.doAfterBody
After the body evaluation: do not reevaluate and continue with the page. By default nothing is done with the bodyContent data (if any). true
true
JSP:JAVADOC:327intjakarta.servlet.jsp.tagext.BodyTagSupport.doAfterBody

throws JspException
if an error occurred while processing this tagtrue
false
JSP:JAVADOC:328voidjakarta.servlet.jsp.tagext.BodyTagSupport.release
Release state. true
false
JSP:JAVADOC:329BodyContentjakarta.servlet.jsp.tagext.BodyTagSupport.getBodyContent
Get current bodyContent. true
true
JSP:JAVADOC:330JspWriterjakarta.servlet.jsp.tagext.BodyTagSupport.getPreviousOut
Get surrounding out JspWriter. true
true
JSP:JAVADOC:331voidjakarta.servlet.jsp.tagext.BodyContent.flush
Redefined flush() so it is not legal. It is not valid to flush a BodyContent because there is no backing stream behind it. true
false
JSP:JAVADOC:332voidjakarta.servlet.jsp.tagext.BodyContent.flush

throws IOException
always throwntrue
true
JSP:JAVADOC:333voidjakarta.servlet.jsp.tagext.BodyContent.clearBody
Clear the body without throwing any exceptions. true
true
JSP:JAVADOC:334Readerjakarta.servlet.jsp.tagext.BodyContent.getReader
Return the value of this BodyContent as a Reader. true
true
JSP:JAVADOC:335Stringjakarta.servlet.jsp.tagext.BodyContent.getString
Return the value of the BodyContent as a String. true
true
JSP:JAVADOC:336voidjakarta.servlet.jsp.tagext.BodyContent.writeOut
( Writer )
Write the contents of this BodyContent into a Writer. Subclasses may optimize common invocation patterns. true
true
JSP:JAVADOC:337voidjakarta.servlet.jsp.tagext.BodyContent.writeOut
( Writer )
throws IOException
if an I/O error occurred while writing the contents of this BodyContent to the given Writertrue
false
JSP:JAVADOC:338JspWriterjakarta.servlet.jsp.tagext.BodyContent.getEnclosingWriter
Get the enclosing JspWriter. true
true
JSP:JAVADOC:339voidjakarta.servlet.jsp.tagext.TryCatchFinally.doCatch
( Throwable )
Invoked if a Throwable occurs while evaluating the BODY inside a tag or in any of the following methods: Tag.doStartTag(), Tag.doEndTag(), IterationTag.doAfterBody() and BodyTag.doInitBody(). This method is not invoked if the Throwable occurs during one of the setter methods. This method may throw an exception (the same or a new one) that will be propagated further up the nest chain. If an exception is thrown, doFinally() will be invoked. This method is intended to be used to respond to an exceptional condition. true
true
JSP:JAVADOC:340voidjakarta.servlet.jsp.tagext.TryCatchFinally.doCatch
( Throwable )
throws Throwable
Throwable if the exception is to be rethrown further up the next chaintrue
false
JSP:JAVADOC:341voidjakarta.servlet.jsp.tagext.TryCatchFinally.doFinally
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag. This method is invoked even if an exception has occurred in the BODY of the tag, or in any of the following methods: Tag.doStartTag(), Tag.doEndTag(), IterationTag.doAfterBody() and BodyTag.doInitBody(). This method is not invoked if the Throwable occurs during one of the setter methods. This method should not throw an Exception. This method is intended to maintain per-invocation data integrity and resource management actions. true
true
JSP:JAVADOC:342voidjakarta.servlet.jsp.tagext.Tag.setPageContext
( PageContext )
Set the current page context. This method is invoked by the JSP page implementation object prior to doStartTag(). This value is *not* reset by doEndTag() and must be explicitly reset by a page implementation if it changes between calls to doStartTag(). true
true
JSP:JAVADOC:343voidjakarta.servlet.jsp.tagext.Tag.setParent
( Tag )
Set the parent (closest enclosing tag handler) of this tag handler. Invoked by the JSP page implementation object prior to doStartTag(). This value is *not* reset by doEndTag() and must be explicitly reset by a page implementation. true
true
JSP:JAVADOC:344Tagjakarta.servlet.jsp.tagext.Tag.getParent
Get the parent (closest enclosing tag handler) for this tag handler. The getParent() method can be used to navigate the nested tag handler structure at runtime for cooperation among custom actions; for example, the findAncestorWithClass() method in TagSupport provides a convenient way of doing this. The current version of the specification only provides one formal way of indicating the observable type of a tag handler: its tag handler implementation class, described in the tag-class subelement of the tag element. This is extended in an informal manner by allowing the tag library author to indicate in the description subelement an observable type. The type should be a subtype of the tag handler implementation class or void. This addititional constraint can be exploited by a specialized container that knows about that specific tag library, as in the case of the JSP standard tag library. true
true
JSP:JAVADOC:345intjakarta.servlet.jsp.tagext.Tag.doStartTag
Process the start tag for this instance. This method is invoked by the JSP page implementation object. The doStartTag method assumes that the properties pageContext and parent have been set. It also assumes that any properties exposed as attributes have been set too. When this method is invoked, the body has not yet been evaluated. When a Tag returns EVAL_BODY_INCLUDE the result of evaluating the body (if any) is included into the current "out" JspWriter as it happens and then doEndTag() is invoked. true
true
JSP:JAVADOC:346intjakarta.servlet.jsp.tagext.Tag.doStartTag
Process the start tag for this instance. This method is invoked by the JSP page implementation object. The doStartTag method assumes that the properties pageContext and parent have been set. It also assumes that any properties exposed as attributes have been set too. When this method is invoked, the body has not yet been evaluated. Returning BodyTag.EVAL_BODY_BUFFERED is only valid if the tag handler implements BodyTag. true
true
JSP:JAVADOC:347intjakarta.servlet.jsp.tagext.Tag.doStartTag
Process the start tag for this instance. This method is invoked by the JSP page implementation object. The doStartTag method assumes that the properties pageContext and parent have been set. It also assumes that any properties exposed as attributes have been set too. When this method is invoked, the body has not yet been evaluated. When SKIP_PAGE is returned, the processing of the page will cease and no remainder tag methods, such as doEndTag() will be called within this JSP page implementation object. true
true
JSP:JAVADOC:348intjakarta.servlet.jsp.tagext.Tag.doStartTag
The JSP container will recynchronize the values of any AT_EBING and NESTED variables (defined by the associated TagExtraInfo or TLD) after the invocation of doStartTag() except for a tag handler implementing BodyTag whose doStartTag() method returns BodyTag.EVAL_BODY_BUFFERED. true
true
JSP:JAVADOC:349intjakarta.servlet.jsp.tagext.Tag.doStartTag

throws JspException
if an error occurred while processing this tagtrue
false
JSP:JAVADOC:350intjakarta.servlet.jsp.tagext.Tag.doEndTag
Process the end tag for this instance. This method is invoked by the JSP page implementation object on all Tag handlers. This method will be called after returning from doStartTag. The body of the action may or may not have been evaluated, depending on the return value of doStartTag. If this method returns EVAL_PAGE, the rest of the page continues to be evaluated. true
true
JSP:JAVADOC:351intjakarta.servlet.jsp.tagext.Tag.doEndTag
Process the end tag for this instance. This method is invoked by the JSP page implementation object on all Tag handlers. This method will be called after returning from doStartTag. The body of the action may or may not have been evaluated, depending on the return value of doStartTag. If this method returns SKIP_PAGE, the rest of the page is not evaluated, the request is completed, and the doEndTag() methods of enclosing tags are not invoked. If this request was forwarded or included from another page (or Servlet), only the current page evaluation is stopped. true
true
JSP:JAVADOC:352intjakarta.servlet.jsp.tagext.Tag.doEndTag
Process the end tag for this instance. This method is invoked by the JSP page implementation object on all Tag handlers. This method will be called after returning from doStartTag. The body of the action may or may not have been evaluated, depending on the return value of doStartTag. If this method returns EVAL_PAGE, the rest of the page continues to be evaluated. If this method returns SKIP_PAGE, the rest of the page is not evaluated, the request is completed, and the doEndTag() methods of enclosing tags are not invoked. If this request was forwarded or included from another page (or Servlet), only the current page evaluation is stopped. The JSP container will resynchronize any variable values that are indicated as so in TagExtraInfo after the invocation of doEndTag(). true
true
JSP:JAVADOC:353intjakarta.servlet.jsp.tagext.Tag.doEndTag
The JSP container will resynchronize the values of any AT_BEGIN and AT_END variables (defined by the assocaited TagExtraInfo or TLD) after the invocation of doEndTag().true
true
JSP:JAVADOC:354intjakarta.servlet.jsp.tagext.Tag.doEndTag

throws JspException
if an error occurred while processing this tagtrue
true
JSP:JAVADOC:355voidjakarta.servlet.jsp.tagext.Tag.release
Called on a Tag handler to release state. The page compiler guarantees that JSP page implementation objects will invoke this method on all tag handlers, but there may be multiple invocations on doStartTag and doEndTag in between. true
false
JSP:JAVADOC:356voidjakarta.servlet.jsp.tagext.SimpleTag.doTag
Called by the container to invoke this tag. The implementation of this method is provided by the tag library developer, and handles all tag processing, body iteration, etc. true
true
JSP:JAVADOC:400voidjakarta.servlet.jsp.tagext.SimpleTag.doTag
The JSP container will recynchronize any AT_BEGIN and AT_END variables (defined by the associated tag file TagExtraInfo or TLD) after the invocation of doTag().true
true
JSP:JAVADOC:357voidjakarta.servlet.jsp.tagext.SimpleTag.doTag

throws JspException
If an error occurred while processing this tag.true
false
JSP:JAVADOC:358voidjakarta.servlet.jsp.tagext.SimpleTag.doTag

throws IOException
If there was an error writing to the output stream.true
false
JSP:JAVADOC:359voidjakarta.servlet.jsp.tagext.SimpleTag.doTag

throws SkipPageException
If the page that (either directly or indirectly) invoked this tag is to cease evaluation. A Simple Tag Handler generated from a tag file must throw this exception if an invoked Classic Tag Handler returned SKIP_PAGE or if an invoked Simple Tag Handler threw SkipPageException or if an invoked Jsp Fragment threw a SkipPageException.true
true
JSP:JAVADOC:360voidjakarta.servlet.jsp.tagext.SimpleTag.setParent
( JspTag )
Sets the parent of this tag, for collaboration purposes. true
true
JSP:JAVADOC:361JspTagjakarta.servlet.jsp.tagext.SimpleTag.getParent
Returns the parent of this tag, for collaboration purposes. true
true
JSP:JAVADOC:362voidjakarta.servlet.jsp.tagext.SimpleTag.setJspContext
( JspContext )
Stores the provided JSP context in the protected jspContext field. true
true
JSP:JAVADOC:363voidjakarta.servlet.jsp.tagext.SimpleTag.setJspBody
( JspFragment )
Provides the body of this tag as a JspFragment object, able to be invoked zero or more times by the tag handler. This method is invoked by the JSP page implementation object prior to doTag(). true
true
JSP:JAVADOC:403JspFragmentjakarta.servlet.jsp.tagext.JspFragment.JspFragment

true
true
JSP:JAVADOC:404JspContextjakarta.servlet.jsp.tagext.JspFragment.getJspContext
Returns the JspContext that is bound to this JspFragment.true
true
JSP:JAVADOC:382voidjakarta.servlet.jsp.tagext.JspFragment.invoke
( Writer )
Executes the fragment and directs all output to the given Writer, or the JspWriter returned by the getOut() method of the JspContext associated with the fragment if out is null.true
true
JSP:JAVADOC:401voidjakarta.servlet.jsp.tagext.JspFragment.invoke
( Writer )
throws JspException
Thrown if an error occured while invoking this fragment.true
true
JSP:JAVADOC:402voidjakarta.servlet.jsp.tagext.JspFragment.invoke
( Writer )
throws IOException
If there was an error writing to the stream.true
true
JSP:JAVADOC:367voidjakarta.servlet.jsp.tagext.JspFragment.invoke
( Writer )
throws SkipPageException
Thrown if the page that (either directly or indirectly) invoked the tag handler that invoked this fragment is to cease evaluation. The container must throw this exception if a Classic Tag Handler returned Tag.SKIP_PAGE or if a Simple Tag Handler threw SkipPageException.true
true
JSP:JAVADOC:368intjakarta.servlet.jsp.tagext.IterationTag.doAfterBody
Process body (re)evaluation. This method is invoked by the JSP Page implementation object after every evaluation of the body into the BodyEvaluation object. The method is not invoked if there is no body evaluation. true
true
JSP:JAVADOC:369intjakarta.servlet.jsp.tagext.IterationTag.doAfterBody
Process body (re)evaluation. This method is invoked by the JSP Page implementation object after every evaluation of the body into the BodyEvaluation object. If doAfterBody returns EVAL_BODY_AGAIN, a new evaluation of the body will happen (followed by another invocation of doAfterBody). true
true
JSP:JAVADOC:386intjakarta.servlet.jsp.tagext.IterationTag.doAfterBody
Process body (re)evaluation. This method is invoked by the JSP Page implementation object after every evaluation of the body into the BodyEvaluation object. If doAfterBody returns SKIP_PAGE no more body evaluations will occur and the doEndTag method will be invoked. true
true
JSP:JAVADOC:370intjakarta.servlet.jsp.tagext.IterationTag.doAfterBody

throws JspException

true
false
JSP:JAVADOC:371intjakarta.servlet.jsp.tagext.IterationTag.doAfterBody
The JSP container will resynchronize the values of any AT_BEGIN and NESTED variables (defined by the associated TagExtraInfo or TLD) after the invocation of doAfterBody(). true
true
JSP:JAVADOC:372voidjakarta.servlet.jsp.tagext.DynamicAttributes.setDynamicAttribute
( String ,
String ,
Object )
Called when a tag declared to accept dynamic attributes is passed an attribute that is not declared in the Tag Library Descriptor. true
true
JSP:JAVADOC:373voidjakarta.servlet.jsp.tagext.DynamicAttributes.setDynamicAttribute
( String ,
String ,
Object )
throws JspException
if the tag handler wishes to signal that it does not accept the given attribute. The container must not call doStartTag() or doTag() for this tag.true
false
JSP:JAVADOC:374voidjakarta.servlet.jsp.tagext.BodyTag.setBodyContent
( BodyContent )
Set the bodyContent property. This method is invoked by the JSP page implementation object at most once per action invocation. This method will be invoked before doInitBody. This method will not be invoked for empty tags or for non-empty tags whose doStartTag() method returns SKIP_BODY or EVAL_BODY_INCLUDE. When setBodyContent is invoked, the value of the implicit object out has already been changed in the pageContext object. The BodyContent object passed will have not data on it but may have been reused (and cleared) from some previous invocation. The BodyContent object is available and with the appropriate content until after the invocation of the doEndTag method, at which case it may be reused. true
true
JSP:JAVADOC:375voidjakarta.servlet.jsp.tagext.BodyTag.doInitBody
Prepare for evaluation of the body. This method is invoked by the JSP page implementation object after setBodyContent and before the first time the body is to be evaluated. true
true
JSP:JAVADOC:376voidjakarta.servlet.jsp.tagext.BodyTag.doInitBody
Prepare for evaluation of the body. This method will not be invoked for empty tags or for non-empty tags whose doStartTag() method returns SKIP_BODY or EVAL_BODY_INCLUDE. true
true
JSP:JAVADOC:377voidjakarta.servlet.jsp.tagext.BodyTag.doInitBody
The JSP container will resynchronize the values if AT_BEGIN and NESTED variabled (defined by the associated TagExtraInfo or TLD) after the invfocation of doInitBody().true
true
JSP:JAVADOC:378voidjakarta.servlet.jsp.tagext.BodyTag.doInitBody

throws JspException
If an error occurred while processing this tagtrue
false
JSP:JAVADOC:406voidjakarta.servlet.jsp.HttpJspPage._jspService
( HttpServletRequest ,
HttpServletResponse )
The _jspService()method corresponds to the body of the JSP page. This method is defined automatically by the JSP container and should never be defined by the JSP page author. If a superclass is specified using the extends attribute, that superclass may choose to perform some actions in its service() method before or after calling the _jspService() method. See using the extends attribute in the JSP_Engine chapter of the JSP specification. true
true
JSP:JAVADOC:407voidjakarta.servlet.jsp.HttpJspPage._jspService
( HttpServletRequest ,
HttpServletResponse )
throws ServletException
Thrown if an error occurred during the processing of the JSP and that the container should take appropriate action to clean up the request.true
true
JSP:JAVADOC:408voidjakarta.servlet.jsp.HttpJspPage._jspService
( HttpServletRequest ,
HttpServletResponse )
throws IOException
Thrown if an error occurred while writing the response for this page.true
true
JSP:JAVADOC:409voidjakarta.servlet.jsp.JspApplicationContext.addELContextListener
( ELContextListener )
Registers a ELContextListeners so that context objects can be added whenever a new ELContext is created. At a minimum, the ELContext objects created will contain a reference to the JspContext for this request, which is added by the JSP container. This is sufficient for all the default ELResolvers listed in #addELResolver. Note that JspContext.class is used as the key to ELContext.putContext() for the JspContext object reference. This method is generally used by frameworks and applications that register their own ELResolver that needs context other than JspContext. The listener will typically add the necessary context to the ELContext provided in the event object. Registering a listener that adds context allows the ELResolvers in the stack to access the context they need when they do a resolution. true
true
JSP:JAVADOC:410voidjakarta.servlet.jsp.JspApplicationContext.addELResolver
( ELResolver )
Adds an ELResolver to affect the way EL variables and properties are resolved for EL expressions appearing in JSP pages and tag files. For example, in the EL expression ${employee.lastName}, an ELResolver determines what object "employee" references and how to find its "lastName" property. When evaluating an expression, the JSP container will consult a set of standard resolvers as well as any resolvers registered via this method. The set of resolvers are consulted in the following order: jakarta.servlet.jsp.el.ImplicitObjectELResolver ELResolvers registered via this method, in the order in which they are registered. jakarta.el.MapELResolverjakarta.el.ListELResolverjakarta.el.ArrayELResolverjakarta.el.BeanELResolverjakarta.servlet.jsp.el.ScopedAttributeELResolver It is illegal to register an ELResolver after the application has received any request from the client. If an attempt is made to register an ELResolver after that time, an IllegalStateException is thrown. This restriction is in place to allow the JSP container to optimize for the common case where no additional ELResolvers are in the chain, aside from the standard ones. It is permissible to add ELResolvers before or after initialization to a CompositeELResolver that is already in the chain. It is not possible to remove an ELResolver registered with this method, once it has been registered. true
true
JSP:JAVADOC:411ExpressionFactoryjakarta.servlet.jsp.JspApplicationContext.getExpressionFactory
Returns a factory used to create ValueExpressions and MethodExpressions so that EL expressions can be parsed and evaluated. true
true
JSP:JAVADOC:412VariableResolverjakarta.servlet.jsp.JspContext.getVariableResolver
Returns an instance of a VariableResolver that provides access to the implicit objects specified in the JSP specification using this JspContext as the context object. truetruetrue
JSP:JAVADOC:413JspFactoryjakarta.servlet.jsp.JspFactory.getDefaultFactory
Returns the default factory for this implementation. true
true
JSP:JAVADOC:414JspEngineInfojakarta.servlet.jsp.JspFactory.getEngineInfo
called to get implementation-specific information on the current JSP engine. true
true
JSP:JAVADOC:415JspApplicationContextjakarta.servlet.jsp.JspFactory.getJspApplicationContext
( ServletContext )
Obtains the JspApplicationContext instance associated with the web application for the given ServletContext. true
true
JSP:JAVADOC:416PageContextjakarta.servlet.jsp.JspFactory.getPageContext
( Servlet ,
ServletRequest ,
ServletResponse ,
String ,
boolean ,
int ,
boolean )
obtains an instance of an implementation dependent jakarta.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response. This method is typically called early in the processing of the _jspService() method of a JSP implementation class in order to obtain a PageContext object for the request being processed. Invoking this method shall result in the PageContext.initialize() method being invoked. The PageContext returned is properly initialized. All PageContext objects obtained via this method shall be released by invoking releasePageContext(). true
true
JSP:JAVADOC:417JspFactoryjakarta.servlet.jsp.JspFactory.JspFactory
Sole constructor. (For invocation by subclass constructors, typically implicit.) true
true
JSP:JAVADOC:418voidjakarta.servlet.jsp.JspFactory.releasePageContext
( PageContext )
called to release a previously allocated PageContext object. Results in PageContext.release() being invoked. This method should be invoked prior to returning from the _jspService() method of a JSP implementation class. true
true
JSP:JAVADOC:419voidjakarta.servlet.jsp.JspFactory.setDefaultFactory
( JspFactory )
set the default factory for this implementation. It is illegal for any principal other than the JSP Engine runtime to call this method. true
true
JSP:JAVADOC:420Classjakarta.servlet.jsp.el.ImplicitObjectELResolver.getCommonPropertyType
( ELContext ,
Object )
If the base object is null, returns String.class. Otherwise, returns null. true
true
JSP:JAVADOC:421Iteratorjakarta.servlet.jsp.el.ImplicitObjectELResolver.getFeatureDescriptors
( ELContext ,
Object )
If the base object is null, and the property matches the name of a JSP implicit object, returns an Iterator containing FeatureDescriptor objects with information about each JSP implicit object resolved by this resolver. Otherwise, returns null. The Iterator returned must contain one instance of java.beans.FeatureDescriptor for each of the EL implicit objects defined by the JSP spec. Each info object contains information about a single implicit object, and is initialized as follows: displayName - The name of the implicit object. name - Same as displayName property. shortDescription - A suitable description for the implicit object. Will vary by implementation. expert - false hidden - false preferred - true In addition, the following named attributes must be set in the returned FeatureDescriptors: ELResolver#TYPE - The runtime type of the implicit object. ELResolver#RESOLVABLE_AT_DESIGN_TIME - true. true
true
JSP:JAVADOC:422Classjakarta.servlet.jsp.el.ImplicitObjectELResolver.getType
( ELContext ,
Object ,
Object )
If the base object is null, and the property matches the name of a JSP implicit object, returns null to indicate that no types are ever accepted to setValue(). The propertyResolved property of the ELContext object must be set to true by this resolver before returning if an implicit object is matched. If this property is not true after this method is called, the caller should ignore the return value. true
true
JSP:JAVADOC:423Objectjakarta.servlet.jsp.el.ImplicitObjectELResolver.getValue
( ELContext ,
Object ,
Object )
If the base object is null, and the property matches the name of a JSP implicit object, returns the implicit object. The propertyResolved property of the ELContext object must be set to true by this resolver before returning if an implicit object is matched. If this property is not true after this method is called, the caller should ignore the return value. true
true
JSP:JAVADOC:424ImplicitObjectELResolverjakarta.servlet.jsp.el.ImplicitObjectELResolver.ImplicitObjectELResolver

true
true
JSP:JAVADOC:425booleanjakarta.servlet.jsp.el.ImplicitObjectELResolver.isReadOnly
( ELContext ,
Object ,
Object )
If the base object is null, and the property matches the name of a JSP implicit object, returns true to indicate that implicit objects cannot be overwritten. The propertyResolved property of the ELContext object must be set to true by this resolver before returning if an implicit object is matched. If this property is not true after this method is called, the caller should ignore the return value. true
true
JSP:JAVADOC:426voidjakarta.servlet.jsp.el.ImplicitObjectELResolver.setValue
( ELContext ,
Object ,
Object ,
Object )
If the base object is null, and the property matches the name of a JSP implicit object, throws PropertyNotWritableException to indicate that implicit objects cannot be overwritten. The propertyResolved property of the ELContext object must be set to true by this resolver before returning if an implicit object is matched. If this property is not true after this method is called, the caller should ignore the return value. true
true
JSP:JAVADOC:427Classjakarta.servlet.jsp.el.ScopedAttributeELResolver.getCommonPropertyType
( ELContext ,
Object )
If the base object is null, returns String.class. Otherwise, returns null. true
true
JSP:JAVADOC:428Iteratorjakarta.servlet.jsp.el.ScopedAttributeELResolver.getFeatureDescriptors
( ELContext ,
Object )
If the base object is null, returns an Iterator containing FeatureDescriptor objects with information about each scoped attribute resolved by this resolver. Otherwise, returns null. The Iterator returned must contain one instance of java.beans.FeatureDescriptor for each scoped attribute found in any scope. Each info object contains information about a single scoped attribute, and is initialized as follows: displayName - The name of the scoped attribute. name - Same as displayName property. shortDescription - A suitable description for the scoped attribute. Should include the attribute's current scope (page, request, session, application). Will vary by implementation. expert - false hidden - false preferred - true In addition, the following named attributes must be set in the returned FeatureDescriptors: ELResolver#TYPE - The current runtime type of the scoped attribute. ELResolver#RESOLVABLE_AT_DESIGN_TIME - true. true
true
JSP:JAVADOC:429Classjakarta.servlet.jsp.el.ScopedAttributeELResolver.getType
( ELContext ,
Object ,
Object )
If the base object is null, returns Object.class to indicate that any type is valid to set for a scoped attribute. The propertyResolved property of the ELContext object must be set to true by this resolver before returning if base is null. If this property is not true after this method is called, the caller should ignore the return value. true
true
JSP:JAVADOC:430Objectjakarta.servlet.jsp.el.ScopedAttributeELResolver.getValue
( ELContext ,
Object ,
Object )
If the base object is null, searches the page, request, session and application scopes for an attribute with the given name and returns it, or null if no attribute exists with the current name. The propertyResolved property of the ELContext object must be set to true by this resolver before returning if base is null. If this property is not true after this method is called, the caller should ignore the return value. true
true
JSP:JAVADOC:431booleanjakarta.servlet.jsp.el.ScopedAttributeELResolver.isReadOnly
( ELContext ,
Object ,
Object )
If the base object is null, returns false to indicate that scoped attributes are never read-only. The propertyResolved property of the ELContext object must be set to true by this resolver before returning if base is null. If this property is not true after this method is called, the caller should ignore the return value. true
true
JSP:JAVADOC:432ScopedAttributeELResolverjakarta.servlet.jsp.el.ScopedAttributeELResolver.ScopedAttributeELResolver

true
true
JSP:JAVADOC:433voidjakarta.servlet.jsp.el.ScopedAttributeELResolver.setValue
( ELContext ,
Object ,
Object ,
Object )
If the base object is null, sets an existing scoped attribute to the new value, or creates a new scoped attribute if one does not exist by this name. If the provided attribute name matches the key of an attribute in page scope, request scope, session scope, or application scope, the corresponding attribute value will be replaced by the provided value. Otherwise, a new page scope attribute will be created with the given name and value. The propertyResolved property of the ELContext object must be set to true by this resolver before returning if base is null. If this property is not true after this method is called, the caller should ignore the return value. true
true
JSP:JAVADOC:434voidjakarta.servlet.jsp.tagext.JspIdConsumer.setJspId
( String )
Called by the container generated code to set a value for the jspId attribute. An unique identification string, relative to this page, is generated at translation time. true
true
JSP:JAVADOC:435TagAttributeInfojakarta.servlet.jsp.tagext.TagAttributeInfo.TagAttributeInfo
( String ,
boolean ,
String ,
boolean ,
boolean ,
String ,
boolean ,
boolean ,
String ,
String )
JSP 2.1 Constructor for TagAttributeInfo. This class is to be instantiated only from the TagLibrary code under request from some JSP code that is parsing a TLD (Tag Library Descriptor). true
true
JSP:JAVADOC:436booleanjakarta.servlet.jsp.tagext.TagAttributeInfo.isDeferredValue
Returns true if this attribute is to be passed a ValueExpression so that expression evaluation can be deferred. If this method returns true, then getTypeName() must return "jakarta.el.ValueExpression". The getExpectedType() method can be used to retrieve the expected type this value expression will be constructed with. true
true
JSP:JAVADOC:437booleanjakarta.servlet.jsp.tagext.TagAttributeInfo.isDeferredMethod
Returns true if this attribute is to be passed a MethodExpression so that expression evaluation can be deferred. If this method returns true, then getTypeName() must return "jakarta.el.MethodExpression". The getMethodSignature() method can be used to retrieve the expected method signature this method expression will be constructed with. true
true
JSP:JAVADOC:438Stringjakarta.servlet.jsp.tagext.TagAttributeInfo.getExpectedTypeName
Returns the name of the expected type (as a String) of this deferred value attribute. This method returns null if isDeferredValue() returns false. true
true
JSP:JAVADOC:439Stringjakarta.servlet.jsp.tagext.TagAttributeInfo.getMethodSignature
Returns the expected method signature of this deferred method attribute. This method returns null if isDeferredMethod() returns false. true
true
JSP:JAVADOC:440TagLibraryInfo[]jakarta.servlet.jsp.tagext.TagLibraryInfo.getTagLibraryInfos
Returns an array of TagLibraryInfo objects representing the entire set of tag libraries (including this TagLibraryInfo) imported by taglib directives in the translation unit that references this TagLibraryInfo. If a tag library is imported more than once and bound to different prefices, only the TagLibraryInfo bound to the first prefix must be included in the returned array. true
true