This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes JSDK .... APPLET Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSDK .... APPLET" Watch "JSDK .... APPLET" New topic
Author

JSDK .... APPLET

Philip Pross
Ranch Hand

Joined: Jan 17, 2001
Posts: 76
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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSDK .... APPLET
 
Similar Threads
servlets and new web directory
Reading local file
ServletRunner
Compiling the servlet
chat servlet