File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Applets and tomcat" Watch "Applets and tomcat" New topic

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
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
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.
I agree. Here's the link:
subject: Applets and tomcat
It's not a secret anymore!