tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Different response with jsessionid in the request url between tomcat 6.0.32 and tomcat 6.0.33 for my project
Date Fri, 23 Sep 2011 12:34:57 GMT
2011/9/23 陈俊宇 <honglangqq@gmail.com>:
> Hi,
>     I have been puzzling about this question for two days. There is little
> relative information can be found with Google.
>     Looking forward for help.  Any thought will be appreciated. Thanks a
> lot. Here is the detail.
>     The request like this
>     "
> http://www.local.com/pao/PixelTracking.ds;jsessionid=E6CFA65884A52297BC7A3BDDC4E6602.tomcat1?fn=home
> "
>     will go to different results between tomcat 6.0.32 and 6.0.33 with my
> project.
>
>      For the tomcat 6.0.32 : it got a jpg file , that is what I want
>
>      For the tomcat 6.0.33  : it got a 404 error. But When I remove the
> ".tomcat1" in the url , the url will look like this :
>       "
> http://www.local.com/pao/PixelTracking.ds;jsessionid=E6CFA65884A52297BC7A3BDDC4E6602?fn=home
> "
>        It will get the jpg file .
>


6.0.33 and 7.0 are more closely following the Servlet specification
and the jsessionid path parameter is exposed by some API where it was
not exposed previously. It is mentioned in
https://issues.apache.org/bugzilla/show_bug.cgi?id=51833

It might be that whatever framework you are using to serve those *.ds
requests has support for removing jsessionid path parameter, but e.g.
does not expect "." in its value.


If you are requesting a file directly (with a *.jsp URL) do you
observe any problems?

> (configuration details skipped)

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message