Not directly a Tomcat question, but I hope not too far off topic.

Let's say I have a collection of objects that I want to iterate through and display on 
a JSP page with a custom tag. The body content of the tag on the page formats the 
output as rows and elements of a table. Now, let's say I want to skip a few of the 
objects in the middle of the collection. How can I skip those objects without having 
the tag output the empty html tags from the page? I've tried all of the doAfterBody() 
return values I can think of with no success. (They either process the empty body 
content or stop processing altogether.) I assume that I'm going to have to play around 
with the BodyContent or PageContext, but I can't find any examples that show how to do 
this and it's not intuitive to me.

Any suggestions or examples would be greatly appreciated.

Cindy


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to