jQuery in Action, 3rd edition
The moose likes Applets and the fly likes laoding applet in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Applets
Bookmark "laoding applet in struts" Watch "laoding applet in struts" New topic
Author

laoding applet in struts

Puran Luthra
Greenhorn

Joined: Jan 27, 2004
Posts: 1
Using WSAD and struts, I am trying to load an applet from a jsp (located under WebContent/image). I have used <jsp lugin> in my jsp. The applet class is in a jar file which is located under WEB-INF/lib. My jsp is unable to load applet as it give exception that applet is not found. Any thoughts!! Thanks
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
All applet classes and jar files must be in a publicly accessible directory - which WEB-INF is not (no files will be served out of WEB-INF directly). Usually all files that go with an applet are kept in the same directory where the HTML or JSP file that contains the applet tag is.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: laoding applet in struts
 
It's not a secret anymore!