"tagdependent" means that the container won't even attempt to parse the contents of the tag. All the content will be passed literally to the tag handler. This is useful when you're using a language in your tag body which will be interpreted totally by your own custom tag and never by the container (the spec. gives the example of SQL).
A body-content of "JSP" means that the container will evaluate all JSP scripting elements and EL expressions it encounters in the body of the tag, passing the tag handler the evaluated result.
"scriptless" means that the tag must not contain JSP scripting elements, but may still contain EL expressions. If the container encounters a JSP scripting expression, it raises a translation error. If it encounters an EL expression, it evaluates it.
Note that "scriptless" is quite different from "tagdependent" in that the container will actively parse the body of a scriptless tag while it will always completely ignore the body of a tagdependent action.
Charles Lyons (SCJP 1.4, April 2003; SCJP 5, Dec 2006; SCWCD 1.4b, April 2004)
Author of OCEJWCD Study Companion for Oracle Exam 1Z0-899 (ISBN 0955160340 / AmazonAmazon UK )
akilan irudaya raja
posted 10 years ago
Java Programmar SCJP,SCWCD,SCBCD.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads