Hi all,
Sorry for the late reply.
Here is the code I have used and it works for me on
tomcat 5.0.28 on Windows XP and 2K
web.xml
TestServletOne.java
TestServletTwo.java
when I use the url
http://localhost:8080/RanchTest/TestServletOne ->
I get redirected to view.jsp with NO jsessionid identified in the url bar
when I use the url
http://localhost:8080/RanchTest/TestServletTwo ->
I get redirected to view.jsp with a jsessionid identified in the url bar
NOTE that to do this, and this may be the key thing for both of you, I had to turn off cookies -> I seem to remember that someone had something special they had to do in IE there was a post last week sometime about it. Once cookies are turned off the only way the server has to maintain a session id is put it in the url and therefore you see it.
HTH, sorry it is such a long post.
Matthew