Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to embed an applet in my Jsp page

 
archana vishwanath
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pls tell me
How to embed an applet in my Jsp page and where to keep my
applet class file in Tomcat server.Should it be in WEB-INF/classes
folder?
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You embed it just as you would in an HTML page.
Nothing in WEB-INF can be served up. The applet class/jar should be in a place that the webserver can serve up. You could put it next to the .jsp, for example.
Brian
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic