Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Is it possible to get Struts' FilterDispatcher to serve up static
files

Matt Raible

2007-02-27

Replies:


I'm using *.html as my default extension, which causes a whole host of issues
with Dojo. Regardless, I want to fight through it and see if I can come up
with a solution.

I noticed that FilterDispatcher allows you to serve up static files from the
classpath. Is it possible to configure this same filter so it can serve up
static .html files from a "static" directory in my webapp root?

Thanks,

Matt
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.