i really stuck around this annoying problem and hardly want to burn out all of the things.
all the applet classes embedded in a jsp page was working fine but suddenly this flow has been stopped. I mean, however all the applets appearing to embedded in jsp but code inside these(like event handler, System.out etc) is not taking any effect, when made to run from jsp side. these classses are bundeled in a jar file.
this flow suddenly came in view, i cant figure it out?
i was thinking too wheather should i post over applet's forum or jsp's. but it sounds more like jsp.
suppose i made an japplet class and in which i written a button's onclick event handler. now i grasped it in a jar file aiming to run in a jsp page indeed i did all over.
now when i am runnign that jsp then the japplet class embedded successfully but when i click a next button over it then the event handeler code doesn't execute. while ther is neither any error nor any exception and warning at java console and server side.
everything was working fine on it's way but right now i can't understand what made the flow to turne around.
i have made a cross check over it putting a System.out statement inside applet's init() method of its working but this statement doesn't fire any output to sun java console in IE7.0 when loaded in jsp page.
If the servlet is rendering in the browser, then the JSP has most likely done its job.
I'm going to move this to our Applets forum.
Joined: Mar 22, 2005
Originally posted by Nidhi Nagre: i have made a cross check over it putting a System.out statement inside applet's init() method of its working but this statement doesn't fire any output to sun java console in IE7.0 when loaded in jsp page.
So the applet doesn't even get initialized? That means it wouldn't show any GUI - is that the case? But in that case there should definitely be a message in the browser status bar, and most likely in the Console, too.
By the way, it will probably be easier to debug the applet using appletviewer, instead of as part of a JSP page.