-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Seema,
On 3/14/14, 7:53 AM, Seema Patel wrote: > I have upgraded my tomcat (5.5.29 to 7.0.52) and Java (1.5 to 1.7) > for my struts servlet jsp application. I have also removed all > JCIFS authentication from the WEB-INF/web.xml file and have tried > to do BASIC authentication through Tomcat and the AD (it > authenticates me, but not sure if I've missed anything out, as I've > never done this before). One question at a time, please ;) > I have a doFilter function in my code, which contains > httpServletRequest.getServletPath() call. In the Tomcat 5.5.29 Java > 1.5 version, this will work, as when I print > httpServletRequest.getServletPath() i get the following: > > P1_00.do P5_0_0.do P5_0_1.do > > But in Tomcat 7.0.52 Java 1.7 I get the following from > httpServletRequest.getServletPath() call: > > P1_00.do P5_0_0.do P5_0_1.do includes/tab_defaultsettings.jsp > includes/P1_00.do How are you printing this? Do you just have a Filter that wraps everything and dumps-out the ServletPath for every request? Can you post the code for that Filter as well as the <filter> and <filter-mapping> configuration you have in web.xml? > This is for the same page I'm calling. I would like to know if > something has changed in the way Tomcat 7.0.52 handles this call > from the way it used to in 5.5.29. > > I'm trying to eliminate either Tomcat or Java from this issue, as > nothing else has been changed besides the upgrade of these two > (except for WEB-INF/web.xml, which may also be the cause, if so, > is this something that this group could help me with?). The servlet spec has changed slightly in the intervening versions. It may depend upon your configuration that I requested above. Are you having a specific problem, or are you just wondering why you are seeing more output? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTIve2AAoJEBzwKT+lPKRYGO8QAJBevD64cmJWvC6D9qjCXnwm qlhfOIySRsmBIz6PPXyH1k2+H3YkRJEsTAiqdsGZ+WASc8tDQvPFrC3wyZB6p3ft n2lNYYEMhBid39ahrFv+RlgKOsTd3enHiLeiVdD1wuub/P4fj3yEkR0+aM+CoSrl n06SgLAU4CN9qrYi+nTx4tvlzCElEjbWVkw/PJgKJGB9x4uM5eueZXdri8ymDiLI a/eaZA5PW4jow+xXLgoBsPSVsrggjUjPdsvz7byMF324Syin73xrjm4WNkWchLD0 e8R8u6Ozew/e3uTTiyGh9WHTacNPAKb0er8jAIwYXTddqxYbnnbnFGAyc5jmLtmp QAgn2xW1SRYJiQu7cuBOCO5uJY6uOkSYpj2NKYNMuCKi8MMaKp9XYY/D/CLNjvFP YQhHySdwaPsjEprmU/IfMt+3uzRn6TFKsDBJA7LA8Jotv64kobohjkoTk6A6ihPJ mGBOPQtdUw4kYSbq0ETSqcUnW2vM5V3VaaouL5+jmKIwjtbyN48rh8OKO6qz2gaR mpLy3Zgu4KGCAEsIEuTjs0D6fHDpmSzsm03Ai1glHXrIZG6mRSU7J2z3XtlACsWO bcRzOBCLOfxCBUYUD6PKqcOW0D0sfWfoQqTxqqTbb1mJkH/9I7zRZjTH/Gl+jxQ4 fh3XbIAaQ5WNR3BQHWOW =cBU1 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org