Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call an applet from a servlet

Status
Not open for further replies.

donniea21

MIS
Feb 16, 2001
75
0
0
US
I need to call an applet from my servlet when a user clicks a link..I am putting the .class file in the same folder as my servlet classes. in the html that i have
codebase = "."
code = "mypackage.mypackage2.myApplet.class"

this is how JBuilder created it. The problem is that im getting a ClassNotFound Exception. i have tried changing the codebase and code and moved the class all over but still nothing...Please help if you can ..Thank you.
 
Try the archive attribute for the applet tag to tell th JVM where your code resides.

-gc "I don't look busy because I did it right the first time."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top