Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Query string / InputStream

christian schuster

2003-06-18

Replies:





Hi list,

I have a question to servlets with TC. I set up a easy web site with a form
and request method POST. The action is then a call to a servlet. In this
servlet I implemented doPost and doGet while doPost just calls doGet. Now
when the servlet gets called the query string is null. This I also can see
in the server log file. Also there is no no query string. I figured out
that the actual query string can be read from the InputStream in the
servlet.

But why is this so? Did I set up something wrong?

What do I need to do to just get the query string?

On the web site I tried both methods POST and GET with the same effect. I
am running TC 4.1.18 as a standalone web server.

Any suggestions are welcome because I tried so many things now and do not
know where the point is.

Regards,


Christian Schuster

Rudolf Schuster AG
Postfach 277
CH - 3000 Bern 11

http://www.rsag.ch
++41 31 348 05 30


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.