With the development of technology, a variety of browsers from the layer is not poor, because different browser thinking different, different browsers pursue the same goal, also led to the same link, in different browsers, the root of the directory has a difference.
There is a big difference between Internet Explorer and Firefox and Google Chrome in Root path processing.
There is no way to add a JSP page
<%string path = Request.getcontextpath (); String basepath = request.getscheme () + "://" +request.getservername () + ":" +request.getserverport () +path+ "/";%>
And in the following statement
<base href= "<%=basePath%>" >
It seems to solve the problem of the action link in <form></form>. However, the <a></a> tag in the href problem seems to have not been resolved, there is no way, only in every <a></a> in the href added
<%=basePath%>
Because of the time, so write, at least IE with Google and Firefox browser
Troubleshoot problems with JSP page links in different browsers