Hi Sohaila,
               Basically u should not have problems running applets from
servlets. What u need is the Correct Codebase set in the HTML file that u
return. use CODEBASE attribute in the <applet> tag & also make sure that the
applet .class files exist for the Servlet Engine to access it. Generally you
should keep your applets  with the HTML files dir. so current direc.
notation works.

Hope this helps,
Jiger


>From: Sohaila Roberts <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Servlets & Applets..
>Date: Wed, 7 Jun 2000 13:53:09 -0400
>
>Hi :)
>I have a question.. I'm developing applets for a webcourse using swing,
>graphics, & canvas libraries (among many other, mainly those tho) And
>we want to run these applets via servlets.. is this possible?
>
>I wrote a servlet that was basically the html page I usually used to run
>the applet (with the <applet ........ /applet> type code) and it didnt
>find my applet class file (said the netscape java console). Does this mean
>I cant use a servlet to run an applet? or am I doing something else
>wrong..
>Or should I turn my actual applet into a servlet instead (if that's even
>possible)?
>
>Any suggestions would be totally helpful as I dont know very much about
>servlets at all :)
>
>Thank you!
>
>Sohaila
>
>___________________________________________________________________________
>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

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

___________________________________________________________________________
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

Reply via email to