The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes EVAL_BODY_TAG deprecated ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "EVAL_BODY_TAG deprecated ?" Watch "EVAL_BODY_TAG deprecated ?" New topic
Author

EVAL_BODY_TAG deprecated ?

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
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


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
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.....


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Chintan Rajyaguru
Ranch Hand

Joined: Aug 19, 2001
Posts: 341
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 ]

ChintanRajyaguru.com
SOADevelopment.com - Coming soon!
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
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

Joined: Jul 05, 2001
Posts: 2370

I realise this is i was confused in this chapter too...


Ashik Uzzaman
Senior Member of Technical Staff,
Salesforce.com, San Francisco, CA, USA.
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
You could also get the JavaDoc's from Sun by following the Links on the SCWCD Links page
 
IntelliJ Java IDE
 
subject: EVAL_BODY_TAG deprecated ?
 
Threads others viewed
Passed exam - Thank you JavaRanch
second-hand simulator.
A doubt from Miftah Khan's notes..
calrification on Question no 8
Want Miftah's notes
developer file tools