Posted By:
AlessandroA_Garbagnati
Posted On:
Thursday, August 9, 2001 09:41 PM
Hi,
let's start saying that
>
no one helps if you post too many timesis wrong: if you post the same question many times you just appear as a uneducated person... (to be polite).
Let's start saying that the probable reason why you weren't able to pass parameters is that you're using the wrong syntax:
> http://localhost:8080/examples/servlet_name?param1=value1;blah=blahvalue
the separator, in fact, is not ';' but the '&' sign.
The second problem is the java.net.URLConnection class. You say that it uses only GET, but this is wrong. If you read this FAQ (How can an applet or application pass data to and read output from a CGI script or Servlet?), you can see a very small sample code that execute a POST using URLConnection. You probably need to work on it to fit you needs, but it's ok. Plus, there are many other messages that explain how to do POST with URLConnection.
This should be enough... don't you think.?