> servlet.daytime.code=DaytimeServlet
>...
> In my applet code I have put
> URL url = new
> URL(getCodeBase(),"http://nitin:8080/DaytimeServlet");
Try url.toExternalForm() and you'll see the URL you're creating probably
isn't right. Try:
new URL(getCodeBase(), "/servlet/DaytimeServlet")
The getCodeBase() deals with the protocol, host, and port. You don't
want to respecify it. If you want to access daytime by its registered
name, you need to say /servlet/daytime.
-jh-
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html