-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Raj,
On 6/16/15 4:15 PM, RAJ wrote: >> Is there any reason not to simply remove the double-slash? > > We see that in the source of the page. In the jsp its <html:form > action="/calculators/Calculator" onsubmit="return validateForm();" So the action="/calculators/Calculator.do" in the JSP source turns into this in the HTML? action="//calculators/Calculator.do" Hmm. One possibility that I can think of. Are you defining your <Context> in server.xml or just dropping a WAR file in the webapps/ directory? If you manually specify the <Context> element somewhere, you might be explicitly setting the "path" attribute to "/" to force the webapp to be deployed to the root path. If you're doing this, it's wrong, and you are paying the price. First, the "path" of the root web application should be "" (empty string) and not "/". Second, you should never have to specify the "path" attribute for a <Context> unless you are doing something you really shouldn't be doing. So take a look around and see if I'm right about any of the above. - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJVgIcIAAoJEBzwKT+lPKRYbiQQAMhZb7Ch9virKJlQu/x7xCFu TM2oWQaCj3EylvBOIe8YDx31eTmvaCloaWSa/5qGWMCmk5WTRO7ssAOeO1jbs80c Po7DtJYySoLvHc359pp69XJxlUc5bBYGQ8pPdjPCrpxRChKm0Y+xj80kfns+LNMq L3/U/09f9Dr2igJw57oEVyPRmreba/LhDJdQM0FHo8RzK/tga9gRyjCqumFdKs7b qBO1i00MYxcZYHQzbFrkHC4UECJdd8U7gDeaiejrPJljkd4WqNW895BPTfLnYD55 9U1jwTBLy/LbrrbtLMSkuELoOhShaTcwy18y73OROOwMb6a9FY6297M8/ypGBTV3 ziqmQXaXSIz8Cwse0clxQzLUGY0TErgP2Z5fy2mdqRLT60vYK286ot9FC8KBDAeE R/aPNI/AjLCZJxh/O7wHyoCfUTTv2az3B8Yf4lJGCKNN+kLBU2dm8nPd0lnoDJWz JYQIf92EWNy4U9E8kGXFT6gnIBa4U7hgh9ASSZ/b6UTO4zMY1fchPBr1tbKZ2yyW DM8hWpdqRokvIGenWt44QDULPSDO2ZQKxrXNCAaEwkFcGZOgoOqoZ3wVwZ3vm16O 6fqK4A1mbo0k0Z6gP+7N/36qDNzlNeQl5Ptn1qLrzN/moVpsKcdO1XYV4B0TFgTF tC+r1sXpTbsdhuorspSF =VD8A -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org