aspose file tools
The moose likes Applets and the fly likes Connecting to a remote servlet from an unsigned applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Connecting to a remote servlet from an unsigned applet" Watch "Connecting to a remote servlet from an unsigned applet" New topic
Author

Connecting to a remote servlet from an unsigned applet

James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
My applet connects to a remote servlet (on a different server). I could obviously connect to it fine with a signed applet, but now my applet is no longer signed.

I understand an unsigned applet can access a servlet on the same web server host, but the problem is that the servlets are on a different server...

Is there some simple way I can create a file (html or whatever) on the web server host that can accept requests from the applet and redirect them to the remote servlets?

Cheers,
James
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
You'd need some kind of active server component (Servlet, ASP, PHP, ...) to achieve this. It would be more like proxying, though, not redirection, since the flow would be applet-->server1-->server2-->server1-->applet.
 
Consider Paul's rocket mass heater.
 
subject: Connecting to a remote servlet from an unsigned applet