Re: Get jsp content in struts action

2009-03-10 Thread D1vy@@Ind1@
. -D Nils-Helge Garli wrote: > > Why do you need the contents of the JSP? I'd consider a Servlet Filter > instead if you need to process the output before it's returned to the > browser. > > Nils-H > > On Tue, Mar 10, 2009 at 7:29 AM, D1vy@@Ind1@ > wrote:

RE: Get jsp content in struts action

2009-03-09 Thread D1vy@@Ind1@
Hmm.. I am not sure if the code is problematic because with the same code I am able to read the contents of all JSP pages. Only for JSPs using struts tags I get an exception as mentioned previously, I wanted to know how can I get rid of that exception. -D mgainty wrote: > > > the input stream

Get jsp content in struts action

2009-03-06 Thread D1vy@@Ind1@
Hello, I have a JSP with struts tags in it. I want to get its contents from the struts action class. I did it using RequestDispatcher. I wrote the following code .. == // Creates a response wrapper object. BufferedHttpResponseWrapper responseWrapper = new BufferedHttpRespons