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'm having a difficult time understanding your question. Maybe you could rephrase it.
From what I've gleaned so far, this sounds like more of an Applet issue than a JSP one. If this is so, let me know and I'll move this to our Applets forum.
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.
Since both button and event handler are part of the applet, this seems to have nothing to do with JSP.
The first thing to do is find out why the event handler is not firing. Are you adding the class implementing ActionListener as a listener to the button?
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.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35443
9
posted
0
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.