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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Kyle Lange

Tel: +61 (0)431 88 3978


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to