/*
* @Author : Abhijeet Kulkarni
* @Version 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the sample : JSP how-to Tag Library Validation

* Creation / Modification History
*   Abhijeet Kulkarni          20-Jan-2003       Created
* 
* Overview :  This class defines the "child" tag.
* 
*/
package oracle.otnsamples.howtotlv;


import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;

public class TagChild extends TagSupport {
   
   String name;


   public TagChild() {
     resetAttr();
   }
   public void release() {
     resetAttr();
   }
   public void setName(String str) {
     this.name=str;
   }

   public int doStartTag() throws JspException {
     //return SKIP_BODY;
     return EVAL_BODY_INCLUDE;
   }
   public int doEntTag() throws JspException {
     return EVAL_PAGE;
   }
   private void resetAttr() {
     name=null;
   }

}
E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy