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 JSP and the fly likes How to embed an applet in my Jsp page 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 » Java » JSP
Bookmark "How to embed an applet in my Jsp page" Watch "How to embed an applet in my Jsp page" New topic
Author

How to embed an applet in my Jsp page

archana vishwanath
Ranch Hand

Joined: Mar 09, 2004
Posts: 39
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

Joined: Sep 29, 2003
Posts: 299
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


My Java Freeware:<br />MACCC - <a href="http://maccc.pipasoft.com" target="_blank" rel="nofollow">http://maccc.pipasoft.com</a><br />Nator - <a href="http://nator.pipasoft.com" target="_blank" rel="nofollow">http://nator.pipasoft.com</a>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to embed an applet in my Jsp page
 
Similar Threads
Finding file size using javascript
Embeded a 2D Gui in web page
Embeded a 2D Gui in web page
applet to jsp
Jsp