Title: Applet and Servlet communication problem

Hi,
I am trying to run sample program from Jason Hunter Java Servlet book. I am trying to run program for applet servlet communication .

I can compile the applet and servlet code and put the servlet code in my   servlet dir = .\examples  , I am using servletrunner utility and I have updated servlet.properties file as

#DaytimeServlet
servlet.daytime.code=DaytimeServlet

I am able to run the applet but servlet doesn't.

In my applet code I have put
        URL url = new URL(getCodeBase(),"http://nitin:8080/DaytimeServlet");
This Daytime servlet is copied into my InetPub/wwwroot directory.

Please help me to find out the problem I am facing.



Regards,

Nitin

Reply via email to