tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Wiseley" <mwise...@embarcgroup.com>
Subject RE: The query string
Date Thu, 13 Oct 2005 13:42:42 GMT
Cristi,

Take look at
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSer
vletRequest.html

Using a combination of getRequestURL().toString() and
request.getQueryString() should give you what you're looking for.

Matt


-----Original Message-----
From: Kyle [mailto:kl@attitia.com] 
Sent: Thursday, October 13, 2005 9:16 AM
To: Tomcat Users List
Subject: Re: The query string

Aren't these just ServletRequest parameters, so
request.getParameter(string) should do it shouldn't it?

cristi wrote:

>
> Hello all
>
>
> If a client makes the following request to a servlet container :
>
> http://localhost:8080/cont/admin/page.jsp?doc=1002003&id=ZTJ006P1005
>
> is it possible to have access to this string directly ?
>
> Thx
> Cristi
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


--
------------------------------------------------------------------------
Kind Regards

Kyle Lange

Tel: +61 (0)431 88 3978


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


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


Mime
View raw message