Web Application is not picking up the full context path
posted 1 month ago
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