Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:plugin

 
David Li
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run a jsp file containing jsp lugin to include an applet, I got the following message from java console:
load: class learnServlet/ShadowedTextApplet not found.
java.lang.ClassNotFoundException: java.io.FileNotFoundException: http://localhost:8080/newchina/web-inf/classes/learnServlet/ShadowedTextApplet.class
I checked the folder and I could see the class file in the right location. Why did I get the error message but not the applet?
The code for jsp lugin is:
<jsp lugin type="applet"
code="learnServlet/ShadowedTextApplet"
width="475" height="350">
<jsp arams>
<jsp aram name="MESSAGE" value="Your Message Here" />
</jsp arams>
</jsp lugin>
Thank you for any infor.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic