Implicit Variables
javax.servlet.ServletContext
javax.servlet.ServletConfig
javax.servlet.ServletRequest
javax.servlet.http.HttpServletRequest
javax.servlet.ServletResponse
javax.servlet.http.HttpServletResponse
javax.servlet.http.HttpSession
public abstract class JspWriter extends java.io.Writer {
// Constructor
protected JspWriter(int bufferSize, boolean autoFlush);
// Methods
public abstract void clear( ) throws java.io.IOException;
public abstract void clearBuffer( ) throws java.io.IOException;
public abstract void close( )throws java.io.IOException;
public abstract void flush( ) throws java.io.IOException;
public int getBufferSize( );
public abstract int getRemaining( );
public boolean isAutoFlush( );
}
public abstract class PageContext {
// Constants
public static final int APPLICATION_SCOPE;
public static final int PAGE_SCOPE;
public static final int REQUEST_SCOPE;
public static final int SESSION_SCOPE;
// Constructor
public PageContext( );
// Methods
public abstract java.lang.Object findAttribute(String name);
public abstract void forward(String relativeUrlPath)
throws ServletException, java.io.IOException;
public abstract Object getAttribute(String name);
public abstract Object getAttribute(String name,
int scope);
public abstract java.util.Enumeration getAttributeNamesInScope(int scope);
public abstract int getAttributesScope(String name);
public abstract Exception getException( );
public abstract JspWriter getOut( );
public abstract Object getPage( );
public abstract ServletRequest getRequest( );
public abstract ServletResponse getResponse( );
public abstract ServletConfig getServletConfig( );
public abstract ServletContext getServletContext( );
public abstract HttpSession getSession( );
public abstract void handlePageException(Exception e)
throws ServletException, java.io.IOException;
public abstract void include(String relativeUrlPath)
throws ServletException, java.io.IOException;
public abstract void initialize(Servlet servlet,
ServletRequest request, ServletResponse response,
String errorPageURL, boolean needsSession, int bufferSize,
boolean autoFlush) throws java.io.IOException,
IllegalStateException, IllegalArgumentException;
public JspWriter popBody( );
public BodyContent pushBody( );
public abstract void release( );
public abstract void removeAttribute(String name);
public abstract void removeAttribute(String name, int scope);
public abstract void setAttribute(String name, Object attribute);
public abstract void setAttribute(String name, Object o, int scope);
}
Servlet Classes Accessible Through Implicit Variables
javax.servlet.RequestDispatcher
javax.servlet.http.cookie
Tag Extension Classes
public abstract class BodyContent extends JspWriter {
// Constructor
protected BodyContent(JspWriter e);
// Methods
public void clearBody( );
public void flush( ) throws java.io.IOException;
public JspWriter getEnclosingWriter( );
public abstract java.io.Reader getReader( );
public abstract String getString( );
public abstract void writeOut(java.io.Writer out)
throws java.io.IOException;
}
public interface BodyTag extends Tag {
// Constants
public static final int EVAL_BODY_TAG;
// Methods
public int doAfterBody( ) throws JspException;
public void doInitBody( ) throws JspException;
public void setBodyContent(BodyContent b);
}
public class BodyTagSupport extends TagSupport implements BodyTag {
// Constructor
public BodyTagSupport( );
// Methods
public int doAfterBody( ) throws JspException;
public int doEndTag( ) throws JspException;
public void doInitBody( );
public BodyContent getBodyContent( );
public JspWriter getPreviousOut( );
public void release( );
public void setBodyContent(BodyContent b);
}
public interface Tag {
// Constants
public static final int EVAL_BODY_INCLUDE;
public static final int EVAL_PAGE;
public static final int SKIP_BODY;
public static final int SKIP_PAGE;
// Methods
public int doEndTag( ) throws JspException;
public int doStartTag( ) throws JspException;
public Tag getParent( );
public void release( );
public void setPageContext(PageContext pc);
public void setParent(Tag t)
}
public class TagAttributeInfo {
// Constructor
public TagAttributeInfo(String name, boolean required,
boolean rtexprvalue, String type, boolean reqTime);
// Methods
public boolean canBeRequestTime( );
public static TagAttributeInfo getIdAttribute(TagAttributeInfo[] a);
public String getName( );
public String getTypeName( );
public boolean isRequired( );
public String toString( );
}
public class TagData implements Cloneable {
// Constants
public static final Object REQUEST_TIME_VALUE;
// Constructor
public TagData(Object[][] atts);
public TagData(java.util.Hashtable attrs);
// Methods
public Object getAttribute(String attName);
public String getAttributeString(String attName);
public String getId( );
public void setAttribute(String attName, Object value);
}
public abstract class TagExtraInfo {
// Constructor
public TagExtraInfo( );
// Methods
public TagInfo getTagInfo( );
public VariableInfo[] getVariableInfo(TagData data);
public boolean isValid(TagData data);
public void setTagInfo(TagInfo tagInfo);
}
public class TagInfo {
// Constants
public static final String BODY_CONTENT_EMPTY;
public static final String BODY_CONTENT_JSP;
public static final String BODY_CONTENT_TAG_DEPENDENT;
// Constructor
public TagInfo(String tagName, String tagClassName,
String bodycontent, String infoString, TagLibraryInfo taglib,
TagExtraInfo tagExtraInfo, TagAttributeInfo[] attributeInfo);
// Methods
public TagAttributeInfo[] getAttributes( );
public String getBodyContent( );
public String getInfoString( );
public String getTagClassName( );
public TagExtraInfo getTagExtraInfo( );
public TagLibraryInfo getTagLibrary( );
public String getTagName( );
public VariableInfo[] getVariableInfo(TagData data);
public boolean isValid(TagData data);
public String toString( );
}
public abstract class TagLibraryInfo {
// Constructor
protected TagLibraryInfo(String prefix, String uri);
// Methods
public String getInfoString( );
public String getPrefixString( );
public String getReliableURN( );
public String getRequiredVersion( );
public String getShortName( );
public TagInfo getTag(String shortname);
public TagInfo[] getTags( );
public String getURI( );
}
public class TagSupport implements Tag, java.io.Serializable {
// Constructor
public TagSupport( );
// Methods
public int doEndTag( ) throws JspException;
public int doStartTag( ) throws JspException;
public static final Tag findAncestorWithClass(Tag from, Class klass);
public String getId( );
public Tag getParent( );
public Object getValue(String k);
public java.util.Enumeration getValues( );
public void release( );
public void removeValue(String k);
public void setPageContext(PageContext pageContext);
public void setId(String id);
public void setParent(Tag t);
public void setValue(String k, Object o);
}
public class VariableInfo {
// Constants
public static final int AT_BEGIN;
public static final int AT_END;
public static final int NESTED;
// Constructor
public VariableInfo(String varName, String className,
boolean declare, int scope);
// Methods
public String getClassName( );
public boolean getDeclare( );
public int getScope( );
public String getVarName( );
}
Other JSP Classes
public interface HttpJspPage extends JspPage {
public void _jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException, java.io.IOException;
}
public abstract class JspEngineInfo {
// Constructor
public JspEngineInfo( );
// Methods
public abstract String getSpecificationVersion( );
}
public class JspException extends Exception {
// Constructors
public JspException( );
public JspException(String msg);
}
public abstract class JspFactory {
// Constructor
public JspFactory( )
// Methods
public static JspFactory getDefaultFactory( );
public abstract JspEngineInfo getEngineInfo( );
public abstract PageContext
getPageContext(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
String errorPageURL, boolean needsSession,
int buffer, boolean autoflush);
public abstract void releasePageContext(PageContext pc);
public static void setDefaultFactory(JspFactory deflt);
}
public interface JspPage {
public void jspDestroy( );
public void jspInit( );
}
public class JspTagException extends JspException {
// Constructors
public JspTagException( );
public JspTagException(String msg);
}