>I have a servlet doing which takes a USERID=XXX as parameter and writes >out a message "XXX subscribed". On my client >side, I have a class very similar to the URLReader class (in the JDK >tutorial for reading and writing to URLs section) >I construct a URL class, open the connection, write to it and then try to >read from it. > >This works file when I use Java Web Server 2.0. However, when I try to run >the same servlet using ServletExec plugin >with Netscape Enterprise WebServer, the first part of writing to the URL >connection goes through. However, >the client applet hangs on >DataInputStream in = new DataInputStream( myConnection.getInputStream() ); >call, after which I am supposed to read. > >Any ideas as to what might be causing the different behavior ? If you are not using SE 2.1 then you should upgrade to it. When this occurs are there any error messages in ServletExec.log? Does your servlet complete all of its processing and return from its service method? Paul -------------------------------------------------------------------- Paul Bonfanti [EMAIL PROTECTED] ServletExec Developer http://www.newatlanta.com/ -------------------------------------------------------------------- ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
