File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Marshal

Joined: Mar 22, 2005
Posts: 41516
    
  53
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.


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: laoding applet in struts