Hi Sohaila ,
>From my work , it is possible. I use j2sdk2.1 to test my servlet and my
applet.
We need to set "CODEBASE=xxx" to tell the Browser where the applet is.
For example, I put my servlet in .../jsdk2.1/webpages/WEB-INF/servlets,
and I put my applet in ../jsdk2.1/webpages, and in the html which ia made
by my servlet, I set "CODEBASE=.." . it works.
Bo
June 10,2000
Sohaila Roberts wrote:
> 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
___________________________________________________________________________
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