Hi shafqat,
code it in this way.
String applet="AppletName";
out.println("<applet code="+applet+
"codebase=/ " +"width=500 height=300>");
if you need to pass parameters to the applet use the following stmts:
out.println("<param name=user value="+user+">");
out.println("<param name=room value="+room+">");
out.println("<param name=type value="+type+">");
out.println("</applet>");
REvathy
----------------------------------------------------------------------------
On Thu, 25 Mar 1999, shafqat wrote:
> HELLO,
> I am developing a servlet in which I am generating dynamically. Simple HTML is
>displayed fine by the browser but if I add an Applet tag then applet is not loaded in
>the browser. It says class not found. I placed the class in the directory containing
>the servlet as well as in the 'Public_html' directory(I am using Java Web Server).
> Advance Thanks.
> Syed Shafqat Saeed.
>
>
___________________________________________________________________________
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