>From the servlet API specification 2.1 (but I'd be surprised if this had
changed since 2.0) comes the following:
public String getRequestURI();
Returns, from the first line of the HTTP request, the part of this
request's URL that defines the resource being requested. If there is a
query string, it is not included in the return value. For example a
request accessed via the URL path of /catalog/books?id=1 would return
/catalog/books. The return value of this method contains both the
servlet path and the path info.
But, Apache JServ appears to be returning the full URL, including the
?id=1 bit. This is in code called from a GNUJSP page.
I am using one of the pre-b1 snapshots - if this has been fixed in the
later versions, I'll upgrade. The reason I'm still using the old
snapshot is because it works, and I'm not going to break it for
something that is still considered beta.
(speaking of which, since 1.0b2 seems pretty stable feature- and
bug-wise, why not just call it 1.0 and move to 1.1 for main development?
Up to you guys, of course, but since it's being used in a lot of
production environments, calling it a beta seems to be not really
admitting the facts as they stand)
Just my 0.4 nickels,
Stuart.
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]