Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet jar inside WEB-INF

 
Marcos Urata
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I know that the contents inside web-inf are not visible to the client. Even tough, I have a web app that launches an applet app. I would like to know if there is any way to put the applet�s jar inside WEB-INF/lib and the web app be still able to find the applet�s classes.

I have read something about using the ServletContext�s getResource() method, but I don�t know how it would work since when the user calls my jsp with the applet tags embbed, the applet main class will be called.

Thanks
 
Joe Ess
Bartender
Posts: 9338
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Marcos Urata:

I know that the contents inside web-inf are not visible to the client.

I think you answered your question. Your web application does not "launch" an applet, it points the browser to a web page which has an applet embedded in it. Obviously the web page and applet must be somewhere that is visible to the client.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic