I plan to try and implement this today as I need it for a project. My hope is I can use the DojoFilter attached to the following issue to accomplish this:
http://issues.appfuse.org/browse/APF-431 Matt On 2/26/07, Sanjiv Jivan <[EMAIL PROTECTED]> wrote:
I've spent a lot of time in hte past tyring to serve static html and dynamic html from the same web app with both mapped to the .html extension. I wanted files under /static/*.html to be served statically by the web container and /app/*.html to go via my Spring MVC controllers. Unfortunately the url-pattern specification of web.xml is really weak and I never got it to work successfully. I had to either change the extension of the dynamic pages to .htm (or vice versa) Or serve the static .html files from another web app context. I believe Resin has custom url-pattern extensions that support regular expression paths. One has to wonder why url-pattern in the servlet spec doesn't support regular expressions. I would be very interested if anyone has successfully served static and dynamic content with both mapped to the .html extension. Sanjiv On 2/22/07, Brett Knights <[EMAIL PROTECTED]> wrote: > Hello, > I have a bunch of files I want to serve from a sub-directory in an > appfuse project. > I want them secured by acegi and wrapped by the project's sitemesh wrapper. > > I am using Spring MVC. > The files will generally not be .jsp's > I assume I'll have to map the directory to a controller and view > resolver. Pointers or tips on which ones to use would be greatly > appreciated. > > TIA > > Brett Knights > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
