you can use the embeddedjsp plugin to process a jsp as a template
library without using the container. another alternative is to create
your own filter and create a response object which will have a writer
to capture what is written to it, so you can modify it and then write
it to the real output stream.  Can you tell us what you are trying to
do? maybe you don't need a jsp and could use freemarker or velocity.

musachy

On Wed, Oct 28, 2009 at 6:28 PM, Steven Yang <kenshin...@gmail.com> wrote:
> Hi
>
> I am wondering is there a way in Struts2 to get the result of JSP before
> returning the composed HTML back to client?
>
> for example
>
> public String execute() {
>   ...do my logic and prepare my data
>
>  ...then using the data, compose a HTML file from existing jsp
>
> ... then i need to save the HTML file somewhere
>
> ...then
> return SUCCESS; --> maybe to same HTML or other JSP
> }
>
> Thanks
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to