hi

try to change the path of the applet to the relative path to the servlets
path.

good luck.

-----Original Message-----
From: Deniz Demir [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 05, 2000 4:03 PM
To: [EMAIL PROTECTED]
Subject: Servlet and Applet


I have written applet tag in order to download an applet into browser in
Servlet, but in the browser applet not found is given by the browser. How
can show applets? I am using Java Web Server. and I am putting my applet
class into servlet directory where I put servlet classes. and the html code
which is sent to the browser is as follow:

<html>
<head>
<title>Login</title>
<center><h2>Welcome! Please login</h2>
<applet width=200 height=120
   name="LoginApplet"
   codebase = "."
  code= "LoginApplet.class">
<param name="servlet" value="/servlet/TestLogin">
<param name="id" value="AUN351YAAAAAFQOBYFHAAAA">
</applet>
</center></body></html>

what is missing?

Deniz...

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to