• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EVAL_BODY_TAG deprecated ?

 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this true?
Miftah's notes seems to use this but Michell's notes seems to be quoting that it is deprecated.
The API I am using doesn't seem to say anything...
Looking for a response from someone what has finished reading this topic in the JSP 1.2 Spec
Incase, you are following Miftah's notes, pl. be aware of this.

Thanks.
- satya
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, in JSP 1.2 EVAL_BODY_TAG has been Deprecated. This is due to the confusion it causes. It means something different when returned from the doStartTag and the doEndTag methods. It's been replaced with EVAL_BODY_BUFFERED for use by the doStartTag method and EVAL_BODY_AGAIN for the doEndTag method. The value is the same to allow a taglib to use either but.....
 
Chintan Rajyaguru
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No No No !!!
Madhav,
Don't use the API you are using. It is J2EE API which uses JSP 1.1 not JSP 1.2. I had the same problem and spent two days figuring out why API did not say what was true in notes and specifications.
Go to http://java.sun.com/jsp and download JSP 1.2 docs
Body Tag has EVAL_BODY_INCLUDE now.

Chintan
[ January 14, 2002: Message edited by: Chintan Rajyaguru ]
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chintan:
Thanks. I found that the Tomcat 4.0 site gives the JavaDoc API for the Servlets 2.3 and JSP 1.2 online.
Not sure how far it is complete. I am assuming that it is fairly authentic.
regds.
- satya
 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I realise this is i was confused in this chapter too...
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could also get the JavaDoc's from Sun by following the Links on the SCWCD Links page
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic