It's not a secret anymore!
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "laoding applet in struts" Watch "laoding applet in struts" New topic

laoding applet in struts

Puran Luthra

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

Joined: Mar 22, 2005
Posts: 42958
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 agree. Here's the link:
subject: laoding applet in struts
It's not a secret anymore!