How to remove jsessionid from URL
843835Jun 7 2002 — edited Dec 10 2003I developed a jsp/servlet application. When the user logs in, the URL looks like:
https://host/servlet/MainServlet;jsessionid=8f274f3a77b54e2c952b92fa13514a8a
and
https://host/jsp/DisplayTmpRecords.jsp?choice=update&tableType=vtemp;jsessionid=69a5a3af0bd6433c8c978cb455bb868a
in the first case, it is okay. But in the second case, while I assigned "vtemp" to the parameter tableType, what I actually got is "vtemp;jsessionid=69a5a3af0bd6433c8c978cb455bb868a" if I am using "String tableType = request.getParameter("tableType")". This is bad since I have to additonally parsing to get correct value.
This does not happen on tomcat, but it happens on "Oracle 9i Application Server".
How to remove the extra stuff from the URL?
Thanks.
Jingzhi