This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 42371
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
I agree. Here's the link:
subject: laoding applet in struts