Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSDK .... APPLET

 
Philip Pross
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm presently working on an NT 4.0, where I want to implement applet communication with servlets over the net.
I have install JSDK2.1 on it. Once after start my server (startserver), I open a broswer = http://localhost:8080/Web-inf/servlets/Name.class
and my servlet is displayed (it under c:/jsdk2.1/examples/Web-inf/servlets/). As for the webpages and my applet are displayed on www.testservlet.com with a web page index which will open my Login.class. How do I come to calling my servlet when I press on a button :
URL url = new URL("www://testRmi.com/jsdk2.1/examples/servlets/TestLogin?name="+getUser() +"pass="+getPass()); this does not work.... Even after installing it directly in the folder.
And as for my for web folder its c:/InetPub/wwwwroot/test
Is it to do with mapping...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic