Spring MVC Request URLs in JSP
I am writing a web application using Spring MVC. I am using annotations for the controllers, etc. Everything is working fine, except when it comes to actual links in the application (form actions, <a> tags, etc.) Current, I have this (obviously abbreviated): //In the controller @RequestMapping(value="/admin/listPeople", method=RequestMethod.GET) //In the JSP <a href="/admin/listPeople">Go to People List</a> When I directly enter the URL like "http://localhost:8080/MyApp/admin/listPeople", the page loads correctly. However, the link above does not work. It looses the application name "MyApp".