| Author |
Static content served up by the Dispatcher Servlet or the web container?
|
Ray Clark
Ranch Hand
Joined: Aug 16, 2012
Posts: 49
|
|
What do you guys/gals mostly see? The static content (CSS, JavaScript, Images, etc) served up by the Dispatcher Servlet or served up by the Web Container?
Right now my Dispatcher Servlet is set to process *.htm, is it usually set to something else?
Thanks,
Ray
|
 |
Bill Gorder
Bartender
Joined: Mar 07, 2010
Posts: 1282
|
|
|
If I have just one dispatcher servlet I typically set it to /. I also let the dispatcher servlet serve the static resources. I find this more convenient and flexible as it does not involve a container specific solution or dependency on a default servlet.
|
[How To Ask Questions][Read before you PM me]
|
 |
 |
|
|
subject: Static content served up by the Dispatcher Servlet or the web container?
|
|
|