Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Applets and the fly likes embed applet in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "embed applet in jsp" Watch "embed applet in jsp" New topic
Author

embed applet in jsp

ma iris
Greenhorn

Joined: Oct 04, 2010
Posts: 1
Hi

i have create an applet app under src test.java, and i try to write and jsp to read this applet which in WebContent, but it don't work , the error is can't find the class in project/src/test.class, i paste the code below , can anyone help ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
The code attribute is a classname, not a filename. It should probably be "test" or "test.class" (assuming that the test class is not in a package).


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: embed applet in jsp
 
Similar Threads
applet problem
ClassNotFoundException while using Applet
executing java from another directory
Proper location of external file for applet
Carrot and Lucene together