• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Web Application is not picking up the full context path

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!