form submit returns an applet to a new browser window, why?
Posted: Wed Jun 12, 2002 11:35 am
I have a non-frames php page. On This page I have a simple form:
Form Method=POST TARGET="_PARENT"
Action="http://1.1.1.1/aaa/bbb/servlet"
INPUT TYPE=SUBMIT NAME="RUN" VALUE="Connect"
INPUT TYPE=HIDDEN NAME="KEY" VALUE="abcxyz"
The post is sent to a remote server where the key is analyzed and the results are returned in the form of an applet.
<applet code="applet1"
<align="baseline" archive="/xyz/abc.jar">
<param name="A" value="1">
<param name="B" value="2">
<param name="C" value="3">
<param name="D" value="4">
</applet>
The problem is: The returned result opens a new
window. (the applet does opens properly) How do I
return the applet to the same window from which I
summitted the form?
Thanks in advance for any insight into this.
Dean
Form Method=POST TARGET="_PARENT"
Action="http://1.1.1.1/aaa/bbb/servlet"
INPUT TYPE=SUBMIT NAME="RUN" VALUE="Connect"
INPUT TYPE=HIDDEN NAME="KEY" VALUE="abcxyz"
The post is sent to a remote server where the key is analyzed and the results are returned in the form of an applet.
<applet code="applet1"
<align="baseline" archive="/xyz/abc.jar">
<param name="A" value="1">
<param name="B" value="2">
<param name="C" value="3">
<param name="D" value="4">
</applet>
The problem is: The returned result opens a new
window. (the applet does opens properly) How do I
return the applet to the same window from which I
summitted the form?
Thanks in advance for any insight into this.
Dean