Hi

   Try this out:

    when u submit the data from the window using javascript shut down the
window.... the command probably is self.destroy()... pl check this out. I
think if u do this then the next time the same window will get displayed but
the previous window will get deleted

    Sumit


On Thu, 12 Oct 2000 14:28:44 -0500, A mailing list for discussion about Sun
Microsystem's Java
              Servlet API Technology. wrote:

>  I am having a problem and need some clarification.  I am calling a
servlet
>  with the window.showModalDialog method.  The servlet gets called and
writes
>  back HTML back to the modal window.  Now within the modal window the user
>  will enter in some data and then hit the "Submit" button.   The "Submit"
>  button is actually in a "<Form>" tag.  The action of the form tag calls
the
>  same servlet I called with the "Window.showModalDialog".  Now the servlet
>  will take the data and save it and then write some HTML back.
>
>  Now the problem.  When the servlet writes the HTML back a new window gets
>  loaded on the client.  So now I have my original page, the modal window,
and
>  now a window with the HTML I passed after the "Submit" process.
>
>  So there is some restriction with using .showModalDialog.
>
>  Thanks
>
>
___________________________________________________________________________
>  To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
>  of the message "signoff SERVLET-INTEREST".
>
>  Archives: http://archives.java.sun.com/archives/servlet-interest.html
>  Resources: http://java.sun.com/products/servlet/external-resources.html
>  LISTSERV Help: http://www.lsoft.com/manuals/user/user.html





_______________________________________________________
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to