This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
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: 41180
    
  45
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: laoding applet in struts
 
Similar Threads
Applet in JSP
pagenotfound for struts2.1.8
loading values from a file
JApplet in Browser : Connection Problem
Could not load TagExtraInfo class