How can I include an applet dynamically in a servlet?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   shyam_prasad
Posted On:   Sunday, October 28, 2001 05:40 AM


I am sending an applet dynamically through my servlet using the applet tag.

But the browser is unable to load the applet's class file.

</
p>
Where should I save the class file?

I am using servletrunner to run the servlet

Re: How can I include an applet dynamically in a servlet?

Posted By:   Alex_Chaffee  
Posted On:   Monday, October 29, 2001 06:23 AM

This is totally possible. You must have some error in your HTML or file layout. Check your code. Make sure that whatever applet class you're trying to download from inside the tag, you can also download directly by typing into the browser's address bar.


The class file must be accessible in the web -- not in the WEB-INF.