aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes How do you say to skip body from Simple Tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "How do you say to skip body from Simple Tags" Watch "How do you say to skip body from Simple Tags" New topic
Author

How do you say to skip body from Simple Tags

vanam kris
Greenhorn

Joined: Nov 19, 2004
Posts: 12
i know for Classic Tags if you return SKIP_BODY from doStartTag() it will not evaluate the body.
How do you do the same for Simple Tags?

do not include getJspBody().invoke(null) in doTag()?
vanam kris
Greenhorn

Joined: Nov 19, 2004
Posts: 12
could you , Kathy Sierra or someone pl answer this question.
Giju George
Ranch Hand

Joined: Jun 08, 2004
Posts: 333
In simple tags, the body is invoked only calling getJspBody().invoke(null). So I think if we don't call that function,it should skip the body !!!


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do you say to skip body from Simple Tags
 
Similar Threads
tag question.
doubts regarding access and manipulation of body in Simple tags and in classic custo
tag body-content JSP
Default Body Content
How volume 2 will deal with custom tags?