PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Dec 18, 2018 7:16 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Jun 12, 2002 11:35 am 
Offline
Forum Newbie

Joined: Wed Jun 12, 2002 11:35 am
Posts: 2
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 12, 2002 1:54 pm 
Offline
DevNet Evangelist
User avatar

Joined: Tue May 07, 2002 9:48 am
Posts: 8391
Location: Berlin, ger
do you send a complete html-page or just <applet..... ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 12, 2002 2:43 pm 
Offline
Forum Newbie

Joined: Wed Jun 12, 2002 11:35 am
Posts: 2
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>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group