i was trying to make an applet for applet servlet communication to find current date of the system and have imported com/oreilly/servlet/HttpMessage.class package both applet and servlet compiled well but on executing the applet the following error came error.java.lang.NoClassDefFoundError.com/oreilly/servlet/HttpMessage plz help me tell that where is the file httpmessage.class be included.i have already done it in webservers public_html and classes directory.... plz help
I do not know exaktly, but for my eyes it looks like the following: The server has to send the relevant class to the client too! It means if you use not standard classes you should build a jar-file of all 'unnormal' stuff put your applet-class into it too and use the parameters archive="myjarfile.jar" code="myapplet.class" codebase="thegooddir"
Peter: and use the parameters archive="myjarfile.jar" code="myapplet.class" codebase="thegooddir"
So am I right in saying: the file "myjarfile.jar" is in a sub-directory named "thegooddir". This sub-directory is in a directory which is holding "myAppletRunner.html" file which load the applet into my browser.
Any help is appreciated. Thanks. - satya
Take a Minute, Donate an Hour, Change a Life
It looks like it's time for me to write you a reality check! Or maybe a tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop