Apr 6th, 2011, 12:10 PM
spring:url tag works locally in Jetty but not deployed in Tomcat
When I run my app locally in Jetty, I can change the context path to my heart's desire and my URLs are modified accordingly. When I deploy the same app to a standard Tomcat install, the generated URLs are missing the context path.
Is there some simple piece of configuration I could be missing that would do this? Why would Spring be unable to get the context path from Tomcat?
Apr 6th, 2011, 12:29 PM
Ugh, that's embarrassing (where's the delete thread button). I was using two templates, one didn't prefix the paths correctly. Nothing to see here.
Apr 7th, 2011, 03:40 AM
yes,there is some simple piece of configuration I could be missing that would do this
Tags for this Thread