I would like to use a jsp to build a string of html, but not have it returned to the user. For example, this jsp might be called from another servlet or a tag library class.
I'd like to use a jsp because it may contain includes or other tag library elements.
Any thoughts on how to do this?
Make a URL connection to the JSP and store the returned content wherever you want to store it.
I was hoping to keep the session information available from the original session.
write a tag extended BodyTagSupport, then getBodyContent().getString() to get whatever generate from the enclosed context.