Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jsp2.examples.simpletag
Class FindBookSimpleTag  view FindBookSimpleTag download FindBookSimpleTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.SimpleTagSupport
      extended byjsp2.examples.simpletag.FindBookSimpleTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class FindBookSimpleTag
extends javax.servlet.jsp.tagext.SimpleTagSupport

SimpleTag handler that pretends to search for a book, and stores the result in a scoped variable.


Field Summary
private static java.lang.String BOOK_AUTHOR
           
private static java.lang.String BOOK_ISBN
           
private static java.lang.String BOOK_TITLE
           
private  java.lang.String var
           
 
Fields inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
 
Constructor Summary
FindBookSimpleTag()
           
 
Method Summary
 void doTag()
          Default processing of the tag does nothing.
 void setVar(java.lang.String var)
           
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

var

private java.lang.String var

BOOK_TITLE

private static final java.lang.String BOOK_TITLE
See Also:
Constant Field Values

BOOK_AUTHOR

private static final java.lang.String BOOK_AUTHOR
See Also:
Constant Field Values

BOOK_ISBN

private static final java.lang.String BOOK_ISBN
See Also:
Constant Field Values
Constructor Detail

FindBookSimpleTag

public FindBookSimpleTag()
Method Detail

doTag

public void doTag()
           throws javax.servlet.jsp.JspException
Description copied from class: javax.servlet.jsp.tagext.SimpleTagSupport
Default processing of the tag does nothing.


setVar

public void setVar(java.lang.String var)