Hi,
If u have placed *applet class* file in the *home* directory(not servlets
directory) then
change the statement,
toClient.println("<applet code=login.class width=400 height=400>");
to
toClient.println("<applet code=\"\login.class\" width=400 height=400>");
where * \ * (or / whicheve applicable)indicated the *home* directory(in my
case, RHLinux,Apache it is (/usr/local/apache/htdocs)
hope it helps...
U WROTE :
> toClient.println("<applet code=login.class width=400 height=400>");
>I put my applet (login.class) in web server home directory .When I browser
a html download from my web server,and set some data in homepage,and click
'submit' button to download applet using servlet (just like described
above).It will occur a ClassNotFoundException,means cannot find login.class.
>why this happened?
>Thanks
___________________________________________________________________________
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