The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Servlets!

Posted by Dagmara on October 19, 2000 at 3:12 AM

I have two problems with java servlets that I can't cope with.
One thing is that I've been trying to get the URL that a client sends with his request. I've tried almost everything. I heard that getQueryString() from the HttpServletRequest class that is suppose to "Return the query string that is contained in the request URL after the path.", is the right method. Unfortunatelly, it returns null.
The second thing is that happened something like taking over sessions in servlets. I'm working with Jserv and I heard that the session ids that it generates are not unique. When a person has an open session and for example clicks "Refresh" he suddenly jumps into another person's session.
PLZ help:))))



Replies:
  • Try This... Thraksha V Balaji October 25, 2000 at 4:53 AM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us