This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
my applet program has a part of JUnittest, i use it to submit for online.applet is working well on applet viewer and submitting the form to another website, but on browser applet is executed and showing but part of junit test program not working.
Well, you can debug your applet using the applet console (that's where System.in and System.out connect to). But based on the information you posted, there's nothing more that I can say. Read our FAQ entry ItDoesntWorkIsUseless if you don't see why that is.
There are no new questions, but there may be new answers.
Joined: Jul 09, 2012
Paul Clapham wrote:Actually, this is why I recommended (in your other thread) that you should write the code in an application initially, rather than an applet. Much easier to test and debug.
Or did you already do that, and now you're having problems specifically with running the code in an applet?
I already used as application then i integrated it to my applet, the applet itself works fine inside eclipse....on browser finaly it give warning classdenotfound junit.framework.testcase after googling i found that i have to include "junit-4.7.jar" to "WEB-INF/classes" folder of web application, but i am not making a website...sombody else in charge of it.i am not sure this will work or not.i think of making a web app to test it but it seems lil diffcult.
what do you advise?
Sorry for posting same thread in another forum, it was urgent for me so am trying to get help soon.wont happen again.....