posted 18 years ago
Hi,
I think though the integer values of the constants are same, they are used the return value of the different methods.
The doStartTag can return the EVAL_BODY_BUFFERED and the doAfterBody can return the EVAL_BODY_AGAIN. So, no problem of same values. I think the constants have given to descriptive names to identify the purpose. As these are compile time constants, you can use the direct value, instead of these constants.
For the Exam You do not have to know the value of these constants.
Thanks
[ August 24, 2006: Message edited by: Narendra Dhande ]
Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0