Nic,

See comments below:

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Nic
> Ferrier
> Sent: Wednesday, 9 May 2001 5:12 AM
> To: [EMAIL PROTECTED]
> Subject: Re: 3 little questions
>
>
> >>> Mike Whittaker <[EMAIL PROTECTED]> 08-May-01 8:05:29 PM >>>
> ><1>  I'm trying to POST objects over an ObjectOutputStream
> >with an HttpURLConnection is this possible? I get no exceptions
> >from the applet when I try.
>
> Depends on your browser I'd guess. HttpURLConnections don't have much
> reliability for POSTs.

What do you base this comment on? We use applet to servlet communications
as the basis for the system we wrote. It works just fine in a wide variety
of broswer versions. The only problems I've had are:

1. Having to force a connect using URLConnection.connect() between writing
the output and reading the input.

2. You can't send a Vector to IE4, the classes are so old its version of
Vector
is not compatible.

3. Netscape and IE throw different exceptions if they can't connect to the
server.

4. The type of the object that Netscape returns from
URLConnection.openConnection()
is not HttpURLConnection or a subclass thereof.

5. Several minor UI glitches.

> Still, if you send me your code I can tell you
> if you're doing anything really stoopid.
>
>
> ><2> How do you output to the Tomcat console when
> >testing servlets on localhost
>
> Tomcat redirects System.out to the log file. Try System.err.
>
>
> ><3> How can I know from one servlet instance what
> >another servlet instance is doing?
>
> Osmosis?
>
> You can't really... but it's a strange question. Perhaps if you
> clarify what you want to do someone here might be able to help you.
>
>
>
> Nic Ferrier
>


Rob Griffin
Quest Software

E-mail: [EMAIL PROTECTED]
Web site: http://www.quest.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

Reply via email to