This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX 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: 42958
    
  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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connecting to a remote servlet from an unsigned applet
 
It's not a secret anymore!