Matt Higgins <[EMAIL PROTECTED]> wrote:
> Is it possible to disable direct access to vm files ? When using
> velocity and tiles, the user never sees the .vm but if you know the
> correct url you could access 
> 
> /myapp/pages/foo/template.vm
> 
> This would render a bogus pages as it did not go through the tiles
> processor or any of my struts actions. 

I think that anything you put into WEB-INF is no longer directly accessible.

My velocity templates are in ./WEB-INF/pages and other such subdirectories.

-Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to