You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sumit Mittal <su...@yahoo.com> on 2003/07/03 20:17:45 UTC
problem with getQueryString
Hi,
I am using Tomcat version 4.1.24 and j2ee version
1.3.1 for running servlets. However, the methong
getQueryString returns a null, even when the
parameters are not null.
Any suggestions/ideas would be highly helpful.
Regards,
Sumit
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: problem with getQueryString
Posted by Mike Curwen <gb...@gb-im.com>.
If you post to the servlet, getQueryString() should return null.
But if your request looks like:
http://localhost:8080/myapp/myservlet?foo=bar
then getQueryString() should return "foo=bar"
Which case is it?
> -----Original Message-----
> From: Sumit Mittal [mailto:sumit_mittal100@yahoo.com]
> Sent: Thursday, July 03, 2003 1:18 PM
> To: tomcat-user@jakarta.apache.org
> Subject: problem with getQueryString
>
>
> Hi,
>
> I am using Tomcat version 4.1.24 and j2ee version
> 1.3.1 for running servlets. However, the methong
> getQueryString returns a null, even when the
> parameters are not null.
>
> Any suggestions/ideas would be highly helpful.
>
> Regards,
> Sumit
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org