You might want to try this one on the JSP list. The archives are also
quite extensive. 

http://archives.java.sun.com/archives/jsp-interest.html

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/


"Brian K. Buckley" wrote:
> 
> Is there a good way to capture the output from a snippet of jsp into a
> String variable that can be reused multiple times in a page?
> 
> - Brian
> 
> As a simple example, if one needed to have the line:
> 
> <tr><th align='left' >Name</th><td align='right' ><html:text
> property='name'/></td></tr>
> 
> appear in several places, how can one set a String namerow so that the line
> can be redisplayed by saying <%=namerow%> instead of repeating the whole
> snippet?  Note that the snippet includes a custom tag.

Reply via email to