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 submit returns an applet to a new browser window, why?
Moderator: General Moderators
Thanks you for replying.
The user just sends the contents of the submit (KEY) to a server. The server reply though is to send back the html page containing this with custom parameters in the applet tag for the 'key' the user submitted.
<html>
<title vcvvc>
</title>
<body>
<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>
</body>
</html>
The user just sends the contents of the submit (KEY) to a server. The server reply though is to send back the html page containing this with custom parameters in the applet tag for the 'key' the user submitted.
<html>
<title vcvvc>
</title>
<body>
<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>
</body>
</html>