Dear all,

I met an issue with my servlets, then I try the demo servlet given by
Google :

-------
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class MyServlet extends HttpServlet {
   public void doGet(HttpServletRequest req, HttpServletResponse
resp)
           throws IOException {
       resp.setContentType("text/plain");
       resp.getWriter().println("Hello, world");
   }
}
--------

And I still raise an exception when invoking the method getWriter :

java.lang.IllegalStateException: STREAM
       at org.mortbay.jetty.Response.getWriter(Response.java:583)
       at .....

Can anyone help me ? Is there a workaround ?

For information my environment is :
- Mac OS X 10.5.6
- I downgraded my default JVM to the JAVA 5 32 bits version (else I
couln't launch GWT app in hosted mode ...).

Thanks for your help.

C.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to