• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Opening Applet

 
Philip Pross
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know to open an applet you need to have a web page to open the *.class from a server.
What I would like to know is : is it possible to have the web page on one server and call the class that is on another server??? In other words, my web page is on www.javaranch.com, and my classes are on www.sun.com
Thanks Phil
 
Tim Blommerde
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Philip Pross,
Though I'm not completely certain because I've never tried it myself, I do believe you can use an applet on your own web page, while the applet's code is placed on another server. It is done by setting the codebase of the applet tag:

If you're going to try it, please post the result so others can see if it indeed worked or not.
Good luck,
Tim

[This message has been edited by Tim Blommerde (edited September 28, 2001).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic