Announcement Announcement Module
Collapse
No announcement yet.
spring:url tag works locally in Jetty but not deployed in Tomcat Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    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.

    Comment


    • #3
      yes,there is some simple piece of configuration I could be missing that would do this

      Comment

      Working...
      X