Background
I am developing an application (with Spring MVC) with its base path as:
Spring MVC
http://localhost:8080/myapplication/
Use the JSTL c:url tag.
You can also use the pageContext to prefix the context path.