views:

76

answers:

1

If I have an applet embedded in a webpage and I want it to connect to server side software (also written in Java) how can I do this properly on a windows machine running local host? Would I have to run the java application from within the localhost directory and access the applet html from a browser (i.e. localhost/applet.html)?

From what I undestand if you don't have everything setup correctly you won't be able to connect because of Java's security requirements.

Thanks for any help :)

A: 

You'll have to run a webserver (a very simple one will do) and access the page with the applet through that.

Michael Borgwardt