Re: intercept any request to jsp page in Struts Tiles

2006-01-30 Thread Dave Newton
Kai Mai wrote: > I need to support the legacy html template files. > Set it up so it'll translate HTML just like it does JSP. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: intercept any request to jsp page in Struts Tiles

2006-01-30 Thread Kai Mai
I need to support the legacy html template files. On 1/30/06, Dave Newton <[EMAIL PROTECTED]> wrote: > > Kai Mai wrote: > > The template files are in HTML format instead of JSP format. so the > > container won't re-compile them. > > > > whenever they are changed, I need to convert them in JSP for

Re: intercept any request to jsp page in Struts Tiles

2006-01-30 Thread Dave Newton
Kai Mai wrote: > The template files are in HTML format instead of JSP format. so the > container won't re-compile them. > > whenever they are changed, I need to convert them in JSP formats first. Then > the container will re-compile them. > Why not just make them JSP files? Dave ---

Re: intercept any request to jsp page in Struts Tiles

2006-01-30 Thread Kai Mai
The template files are in HTML format instead of JSP format. so the container won't re-compile them. whenever they are changed, I need to convert them in JSP formats first. Then the container will re-compile them. On 1/30/06, Dave Newton <[EMAIL PROTECTED]> wrote: > > Kai Mai wrote: > > Wheneve

Re: intercept any request to jsp page in Struts Tiles

2006-01-30 Thread Dave Newton
Kai Mai wrote: > Whenever a user requests a JSP page, I need to determine if I need to > re-generate it if the corresponding template has been changed. > Doesn't your container do that for you automagically? If it's a JSP page its corresponding servlet class should be recompiled if the source JS

intercept any request to jsp page in Struts Tiles

2006-01-29 Thread Kai Mai
Hi, Whenever a user requests a JSP page, I need to determine if I need to re-generate it if the corresponding template has been changed. I use action forward to display tiles. login.view is an action forward in my struts-config file I tried to extend TilesRequestProcessor and