File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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).]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: An Applet in JSP
 
Similar Threads
JavaScript/Applet/JSP problem - please help!!
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