Your URL looks different than the one first posted. Does this one also fail
within your applet?

1) The plugin will be located/loaded on the client machine. The applet can
only communicate with the machine that delivered it. So make sure the web
page is delivered up by a web server, not via a file:// local call. The most
common configuration is to load the servlet engine on the web server
machine, but this is not required. As long as the two machines are behind
the same firewall.

2) You do not need special permission. If you are streaming your own class
objects, then the class needs to implement serializable. Provide class file
on both sides. The objects we usuall shuffle back and forth are Vectors and
Hashtables, and these already implement Serializable.

3) Backwards compatability should not be an issue.
Dave

-----Original Message-----
From: Peter Pilgrim [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 22, 2000 12:03 PM
To: [EMAIL PROTECTED]
Subject: Re: HTTP Tunnelling + Applet + Java Plug1.3 + Servlets 2.0


Thanks David

I pasted the URL `http://ivy:9090/servlet/com.db.docserv.servlet.AdminSer
vlet' directly in Internet Explorer 5 and managed to download a servlet
class.
Therefore the servlet is not the problem.

(1) Regard applet security: Does the Java Plugin binary and the Java
Servlets
 have to be on the same server host?

(2) Do I need any special permissions to access serialised objects?

(3) My servlets are JDK 1.1.7 and the plugin is obvious JDK 1.3, are
there any serialisation issues that exists between different Java platforms?
Can I sent java object made of 1.1.7 and get it read by VM of 1.3?

tia
--

Peter Pilgrim
Welcome to the "Me Too" generation.



---------------------------------------- Message History
----------------------------------------


From: [EMAIL PROTECTED] on 22/09/2000 14:09

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: HTTP Tunnelling + Applet + Java Plug1.3 + Servlets 2.0



Yes. We insist on having Swing in our applets, so we do it all the time.
Your URL:
`http://poppy.dev.lon.deuba.com:9090/pilgpe/servlet/com.db.docserv.servlet.A
dminServlet'

looks suspicious. By default, the servlet directory is usually virtualed to:
`http://poppy.dev.lon.deuba.com:9090/servlet/com.db.docserv.servlet.AdminSer
vlet'
Did you take care to make sure the virtual directory for the servlet engine
was set up correctly?

If you paste the URL directly into the browser, do you also get the file not
found exception?

Finally, your life will get interesting when you try to use session tracking
with the plugin configuration. Use URL rewriting for this.
Dave





--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

___________________________________________________________________________
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

Reply via email to