Results 1 to 3 of 3

Thread: spring:url tag works locally in Jetty but not deployed in Tomcat

  1. #1

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

    Default

    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.

  3. #3
    Join Date
    Mar 2011
    Posts
    3

    Default

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •