wood burning stoves 2.0*
The moose likes Servlets and the fly likes An Applet in JSP 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 » Servlets
Bookmark "An Applet in JSP" Watch "An Applet in JSP" New topic
Author

An Applet in JSP

Jamal Romero
Greenhorn

Joined: Jun 21, 2001
Posts: 9
Hi,
I'm trying to include an Applet into a JSP page. I'm using the following scriplet:

<%
out.println("<p align=center><applet code=Myapplet.class codebase=./></applet></p>");
%>

The param details are not included in this message.The page is loaded in the browser without errors from the server but the Applet is not there.
There's an error on the browser which is load:class Myapplet not found
Is this the way to include an Applet into a JSP page?
Is the error related to the URI of the applet?
Thanks

[This message has been edited by Jamal Romero (edited June 21, 2001).]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: An Applet in JSP
 
Similar Threads
Oracle JSP Parser Exception
first whack at JSP not working
Directing login errors to form-login-page -- spurious login error message
change src of iframe
JavaScript/Applet/JSP problem - please help!!