• Post Reply Bookmark Topic Watch Topic
  • New Topic

IIS +Tomcat for some reason the query strings are stripped???

 
john mattucci
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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. I know this because 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. Is it possible that IIS is stripping the parameters when its passing the url to Tomcat?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Tomcat forum.
bear
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!