JSTLIYF:

<c:import var="resp" url="/dynamic.jsp">
  <c:param name="p1" value="v1"/>
  <c:param name="p2">body content as param value</c:param>
  ...
</c:import>

Which will give you a page-scoped attribute called "resp" of type String.

Quoting Andy Kriger <[EMAIL PROTECTED]>:

> I would like to call a JSP (using jsp:include) passing it some parameters,
> have that included JSP do its dynamic stuff, and then get the response as a
> String or byte[] so that I can do some further manipulation with the
> resulting HTML.
> 
> Is there any way to get a String or byte[] from a response.getWriter() or
> response.getOutputStream()?
> 
> If not, does anyone have any suggestions on how I can accomplish my goal?
> 
> thx
> andy

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to