When using custom tags to write output back to the jsp page.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nathan_Smith
Posted On:   Tuesday, December 4, 2001 12:40 PM

Which output writers should be used when dealing with custom tags, when the tag handler class

extends BodyTagSupport
and you are:

1. writing back into the body of the tags, or

2. are writing to the body of the tags after iteration is complete.

Re: When using custom tags to write output back to the jsp page.

Posted By:   Norman_Hanson  
Posted On:   Friday, December 7, 2001 10:15 AM

1) in doAfterBody for example...

JspWriter out = pageContext.getOut();



2) same goes for iteration just when your done iterating...

bodyContent.writeOut(bodyContent.getEnclosingWriter());


--norm
About | Sitemap | Contact