How can I pass things (parameters,strings,...) from an applet to a Servlet?.

I'm connected from the Applet to the Servlet with its URL.I get URL's OutputStream
and send a string.
In the Servlet I'm trying to read the sended string with the ReadLine() method
but the servlet don't run good. It waits for something to read that never