I'm not entirely sure what you're after - do you mean get a string with the contents populated by another jsp - independent from the current request being served?
I created a test jsp in tomcat containing a <jsp:include /> tag, ran it and looked in tomcat's work folder at the servlet code generated for it. The key line of code seems to be JspRuntimeLibrary.include(request, response, "/myInclude.jsp", out, true); Here's the javadoc. Looks like it's specific to Tomcat though - I don't know if there's a cross-platform solution. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper/docs/api/org/apac he/jasper/runtime/JspRuntimeLibrary.html looks like the "out" is a JspWriter. I think you may be able to extend jspWriter to create a jsp writer that captures your string rather than sending to a response. -----Original Message----- From: ruben [mailto:[EMAIL PROTECTED] Sent: 25 March 2004 16:00 To: Struts Users Mailing List Subject: html inside an action hi! how can i get the output generate in a .jsp inside an action like it was a resource that i can process(a String or something else)??? thanks a lot in advance. PD: I need to call jasper compiler or something similar? what can i do that? thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]