Javascript to use Java Applet System.out.println as trigger
OK, here is what I want to do:
I have a page with 2 frames, Frame A and Frame B.
Frame A has a hidden applet that looks for data to post from the client.
If there is data to post, the data does post and the user moves to new content loaded in Frame B.
If there is no data to post, the applet uses the System.out.println(No data to post..." and that is written in the java console and the javalog.txt. But the user does not move to new content loaded in Frame B.
But I would like to have the "No data to post" trigger new content to be loaded in Frame B, the same way it does when there is data that is posted.
I can not touch the source code for the applet, so I would like to use JavaScript to capture the "No data to post" and refer the user to a new url.
ANY IDEAS ARE WELCOME!!!!!!!!!!!
Thank you
OK, here is what I want to do:
I have a page with 2 frames, Frame A and Frame B.
Frame A has a hidden applet that looks for data to post from the client.
If there is data to post, the data does post and the user moves to new content loaded in Frame B.
If there is no data to post, the applet uses the System.out.println(No data to post..." and that is written in the java console and the javalog.txt. But the user does not move to new content loaded in Frame B.
But I would like to have the "No data to post" trigger new content to be loaded in Frame B, the same way it does when there is data that is posted.
I can not touch the source code for the applet, so I would like to use JavaScript to capture the "No data to post" and refer the user to a new url.
ANY IDEAS ARE WELCOME!!!!!!!!!!!
Thank you