This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Applets and tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Applets and tomcat" Watch "Applets and tomcat" New topic
Author

Applets and tomcat

david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
Hi All,
If I have my jsp pages behind web-Inf where do I put my applet jar file? Also what would the url be in the applet html tag.

Many thanks
david
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12756
    
    5
The client browser must be able to request the jar from a publicly available URL so WEB-INF won't work. Look into specifying a BASE tag in the HTML head area to tell the browser where to look - also good for image data in pages created by a servlet.
Bill
 
 
subject: Applets and tomcat
 
Similar Threads
Applet non-JDK packages import
Applet not running in Internet Explorer
print applet
my applet can't connect to database
JMenu