You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by jm...@na.cokecce.com on 2003/10/02 20:57:38 UTC

IIS +Tomcat for some reason the query strings are stripped




I was wondering if anyone else has come accross this problem. I have tomcat
running under IIS. When I call a jsp page with parameters eg.
www.x.ca?CHOICE=1 on the address field I see www.x.ca?CHOICE=1 but my jsp
page is always receiving www.x.ca Is it possible that IIS is stripping the
parameters when its passing the url to Tomcat? I included

 <%
 choice = (String) request.getParameter("CHOICE");
 out.println("The CHOICE is = " + choice);
 out.println("QUERY STRINGS ARE " + request.getQueryString());
 %>
 Both print statements return null. I have tried my code on Tomcat alone
 and everything is fine.

 *****************************************************************************************************************************************************************************************

This message is intended for the use of the individual or entity to which
 it is addressed and may contain information that is confidential and
 privileged and exempt from disclosure under applicable law.  If the reader
 of this message is not the intended recipient, you are hereby notified
 that any dissemination, distribution, or copying of this communication is
 strictly prohibited.  If you have received this communication in error,
 please contact the sender immediately and delete it from your system.
 Thank you
 *****************************************************************************************************************************************************************************************


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