Here's a sample link from my jsp:
<a href="/admin/articleEdit">New Article</a>
My application will be deployed with no context root so such links will work in production. But locally, this fails because the link does not contain the context root. I've tried to start links with "./" but that does not always solve related issues.
Is there a way to locally test java application using Eclipse and Eclipse-embedded Tomcat server with no context root? Eclipse does not let me remove context root from the project. I've tried setting context root to "/" but that does not help.