in reply to PERL, JAVA and HTML

Here is an example:
(HTML) <a href="www.example.com/cgi-bin/openwindow.cgi"> ...User clicks link and starts CGI below (CGI) - Open Window ...basic PERL header stuff here.. print "Content-type: text/html\n\n"; print <<HMTL <scirpt> window.open('security_modify_information.htm' ,'mywindow','width=400,height=550,left=30 </script> JAVA (HTML - Security_modify_information.htm) This is a form, upon submit, it checks the form fields and upon comple +tion, it does the following: <script> window.close (); </script>
The first CGI - which is opened as a child window, opens but the parent get's cleared. Then when the submit is completed, the parent neeeds to be reloaded. Hope that clears things up.

Replies are listed 'Best First'.
Re: Re: PERL, JAVA and HTML
by mfriedman (Monk) on Aug 07, 2002 at 19:26 UTC
    Why don't you simply have your link in the parent window open a new window which loads your CGI script? That should preserve the contents of the parent window.
      The Href is actually a FPHOVER button that accepts a URL PARM, so you can only call a CGI or HTM script from it, not a Window.open java command.. Thank you - OEMike