• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown

Web Application is not picking up the full context path

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there !
I am new to Spring MVC and I was trying to build an app using Java based configuration. Somehow, my application doesn't pick the full application context path whenever I click on any link on the page.
Eg. http://localhost:9090/SpringMVCJavaConfig/... should be the path but it picks http://localhost:9090/... I can't figure out whether the problem is with my WebConfig class or with the server. The application startup goes successful but the subsequent requests are failing. Please suggest,
 here are contents of my WebConfig class

And here are contents of my Bean config class

    Bookmark Topic Watch Topic
  • New Topic