Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets and tomcat

 
david allen
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic