There are a couple ways to do this.

The easiest way is to send it to one page, have it handle it's data, and
then forward the form request on to the next page (the one you want to
display).

Another way you could do it is with JavaScript.  In java script you can
change to form's target to be a new window, a frame, or an IFrame (on IE),
submit the form.  The you can again change the form target and post the
second page to be the current window, another window, etc.

If you want some code let me know, and I'll write it up.

_____________________________________________
Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM
Web Developer Resources
http://www.cfdev.com/
 Check out ActivEdit a WYSIWYG HTML Editor that works like a Textarea
 http://www.cfdev.com/activedit/


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Frank Mancini
Sent: Thursday, November 01, 2001 4:07 PM
To: [EMAIL PROTECTED]
Subject: http post to two differnet pages...is it possible.


I know this has been a topic in the past, but can someone give me some
examples of posting from a single page to 2 different pages (servers) with
Javascript with JSP? Also, if I do this, which page would be the resulting
page that is displayed on the screen?

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to