1. EVAL_PAGE
2. They both do nothing and return EVAL_PAGE
3. doStartTag is called before setBodyContent so I wouldn't realy on it
4. everything seems to throw JspException - I'm not convinced the difference
bewtween JspError and JSpException has been finalised yet (anybody from Sun
care to comment)
5. pageContext is a protected variable in 'TagSupport' - why do you need
getPageContext - it's available anyway? - It's also an intrinsic, available
to the JSP page as a variable called pageContext
6. never seen this one,

Kevin Jones

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Volker Turau
Sent: 13 November 1999 17:00
To: [EMAIL PROTECTED]
Subject: Six questions on Tag Extensions (PR2)


1. What is the return value of the methods doStartTag(), doEndTag()
   respectively doAfterBody() in the support classes TagSupport and
   BodyTagSupport?
2. How do the implementations of doEndTag() differ in the classes
   TagSupport and BodyTagSupport?
3. Is it possible to use the method getPreviousOut() of class
   BodyTagSupport in the implementation of the methods doStartTag() or
   doEndTag() in subclasses of BodyTagSupport? Or can these methods
   only use pageContext.getOut()?
4. Why does the method doInitBody() in class BodyTagSupport not
   include the clause throws JspError?
5. What happend to the method public PageContext getPageContext() in
   class Tag? Why was it deleted?
6. What happened to the method public java.lang.String getTagName() in
   class Tag? Why was it deleted?


volker turau
FH Wiesbaden Fachbereich Informatik
Tel.: +49-611-9495-205 FAX +49-611-9495-210
http://www.informatik.fh-wiesbaden.de/~turau

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to