Hello all,
Does anyone have an example of running an application with multiple
servlets. So far everything I have seen has just one servlet. I am trying
to solve a design issue where I would like to create a session and have the
servlets in the application use that session.
If you can point me to examples I would appreciate it.
Joseph.
-----Original Message-----
From: Andy Bailey [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 18, 1999 11:29 AM
To: [EMAIL PROTECTED]
Subject: AW: Sending Objects from Applet to Servlet
Joe Komar wrote:
> Environment: JWS 1.1.3 on Windows 95, JDK 1.1.7
>
> Using the code below for the Applet and the Servlet, I'm able to send the
Vector
> object to the servlet. It works just fine with Internet Explorer 5.0 but
doesn't
> work at all with Netscape Communicator 4.6 -- no exception thrown, just
plain
> doesn't make the connection and send the object.
>
> Any thoughts or ideas would be greatly appreciated!
>
Are you positive the connection isn't made at all?
It could be that the VM for Netscape is the problem here.
Security manager is unlikely to be the problem as you are working inside the
sandbox ok.
Not that I would discount it of course.
The fact that it works with IE5 and not with NN4.6 would suggest to me that
there is a
Java version problem. It gets worse as well. Even if the connection is made
it is quite
possible that the serialised Vector will arrive in an incompatible format
for NN4.6 JDK.
JWS 1.1.3 uses JDK1.1.6 as its runtime, I think NN4.6 is somewhat lower than
that, around
JDK1.1.4 (or even 3).
Using the Java Plugin is probably the easiest solution to this problem. It
is a pain but
then again so is constantly having to work around browser intrangisencies.
Hope that helps
Andy Bailey
___________________________________________________________________________
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
___________________________________________________________________________
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