tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51894] Dynamic includes (with jsp:include or in Java code) of static content fails with Spring + Tomcat
Date Mon, 26 Sep 2011 19:08:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51894

--- Comment #3 from Jacob Wu <jwu@digitalmeasures.com> 2011-09-26 19:08:08 UTC ---
"<mvc:default-servlet-handler/>" configures spring to forward requests for
static content along to the servlet container's default servlet.

http://static.springsource.org/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-default-servlet-handler

(In reply to comment #2)
> I'm not a Spring user: does the "<mvc:default-servlet-handler/>" in
> demo-servlet.xml configure Spring's front controller to act like the "default"
> servlet and therefore serve static content? Otherwise, it looks like you have
> mapped / to Spring and then only handled *.jsp URLs.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message