You have to type
GET /Myservlet HTTP/1.1
Host: localhost
Connection: close
Not that the must be two line breaks before the server recognizes that the request has been completed.
What is missing above is the HTTP/1.1 part which is essential.
If you want to use just one line you have to use HTTP 1.0:
GET /Myservlet HTTP/1.0
Again there are two CRLFs needed after "HTTP/1.0".
BTW: It looks like you hit a timeout when entering "GET /Myservlet". By default this is 30 seconds with Glassfish. The value for this is configured in the <request-rpocessing>-element of your domain.xml.
--
Wolfram Rittmeyer
[Message sent by forum member 'writtmeyer' (writtmeyer)]
http://forums.java.net/jive/thread.jspa?messageID=270271