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
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
Marshal

Joined: Mar 22, 2005
Posts: 42929
    
  68
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connecting to a remote servlet from an unsigned applet