That just sounds awful. What about your jsp compiled cache? Will you be voiding 
those too? You could find that you regenerate the jsp but it doesn't get used.

I would be looking for another solution first. What is your specific 
requirement to regen the JSP?

Sent from my iPhone

> On 4 Mar 2015, at 04:24, JOSE L MARTINEZ-AVIAL <[email protected]> wrote:
> 
> Hello,
>  I'm using Tiles 2.1.4 with Struts 2.3.16. I have a need to modify the
> code of the JSP files on the fly, before the request dispatch process them,
> so it compiles the JSP before using it. I've taken a look at different
> approach, but it seems one option could be to extend
> org.apache.tiles.servlet.context.ServletTilesRequestContext and overwrite
> the methods include and forward so I can intercept the call, modify the
> JSP, and call the super. Is it possible to do that? How can I setup Tiles
> to use my own version of ServletTilesRequestContext?
> 
> Thanks
> 
> JL

Reply via email to