This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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