[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.webtools] Re: Cannot set context root to "/"

Luis wrote:
> Is this a bug or limitation of WTP? Has anyone also had this problem?

I had the same problem with 1.0.0 and 0.7.1 (did not try 1.0.2 yet).

> <a href="/MyWebProject">Back to the main page</a>

You should use <a href="<%=request.getContextPath()%>/myURL" in your URLs to
make them independant against the deployment configuration