Hi RoBo,
The problem is i'm not using frames.
>From: Robo Žilka <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: how to have two submit buttons callingdifferentJSP's
>Date: Wed, 26 Apr 2000 10:00:50 +0200
>
>It is no problem if you use FRAMES.
>
>RoBo Zilka
> ____________
> /EuroWeb a.s.
> /www.euroweb.sk
>/mailto:[EMAIL PROTECTED]
>
>-----Original Message-----
>From: friza taib [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, April 26, 2000 3:47 AM
>To: [EMAIL PROTECTED]
>Subject: Re: how to have two submit buttons callingdifferentJSP's
>
>
>Hello,
>
>How about having one submit form, action to 2/more forms synchronizely. Any
>idea?
>
>frizat.
>
>
> >From: Lin Bai <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Re: how to have two submit buttons callingdifferentJSP's
> >Date: Tue, 25 Apr 2000 12:28:13 -0400
> >
> >Hi,
> >
> >The javascript idea is really great. Now, what should I do if I also want
> >some of the submission buttons to pass parameters to the action
> >page/servlet? For a hypothetical example, I may display a number of
>placed
> >orders retrieved from the database. The form will have a submit button at
> >the bottom for some purpose. But, next to each order, I also want to
>have
> >a
> >submit button for the purpose of deleting the order . Therefore, the
>order
> >id, which is a dynamic value, should also be passed. I can think of two
> >solutions. One is to create a hidden input field. Then in the javascript
> >code for the "onclick" action, set the hidden input field value. The
>other
> >way is to add a dynamically created query string to the url of each
>submit
> >button. What do you guys think? If both ways work, which is better?
>Thanks!
> >
> >Lin
> >
> >-----Original Message-----
> >From: A mailing list about Java Server Pages specification and reference
> >[mailto:[EMAIL PROTECTED]]On Behalf Of Vishwa
> >Sent: Tuesday, April 25, 2000 7:58 AM
> >To: [EMAIL PROTECTED]
> >Subject: Re: how to have two submit buttons callingdifferentJSP's
> >
> >Hi,
> >
> >We may also have to submit the form using the javascript code to
> >explicitly submit the form. Bill, please correct me if i am wrong.
> >
> >like :
> ><input type="submit" value="Submit 1"
> >Onclick="this.form.action='submit1.jsp';this.form.submit()">
> >
> >bye,
> >vishwa
> >
> >Bill Lynch wrote:
> > >
> > > By the way, a better way to do that (in javascript) is to use the
>"this"
> > > shortcut in the form element:
> > >
> > > <input type="sumbit" value="Submit 1"
> > > onclick="this.form.action='submit1.jsp';">
> > >
> > > That way you don't even need to worry about names of form and form
> > > elements.
> > >
> > > regards,
> > > --Bill
> > >
> > > Howard Lee wrote:
> > > >
> > > > Thanks everyone!
> > > >
> > > > -----Original Message-----
> > > > From: A mailing list about Java Server Pages specification and
> >reference
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Nathan Hoover
> > > > Sent: Monday, April 24, 2000 2:02 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: [JSP-INTEREST] how to have two submit buttons calling
> > > > different JSP's
> > > >
> > > > You can absolutely have two submit buttons on the same form. Just
>use
> >this
> > > > code. Assumptions are that your form tag has name=f1.
> > > >
> > > > <input type=submit value="Submit 1" onClick="document.f1.action =
> > > > 'submit1.jsp';">
> > > > <input type=submit value="Submit 2" onClick="document.f1.action =
> > > > 'submit2.jsp';">
> > > >
> > > > -----Original Message-----
> > > > From: A mailing list about Java Server Pages specification and
> >reference
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Choe
> > > > Sent: Monday, April 24, 2000 4:06 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Re: how to have two submit buttons calling different JSP's
> > > >
> > > > as far as i know you can only have one submit button per form. but
> >you
> >can
> > > > have
> > > > more than on form per page. so, i would say make different forms on
> >the
> > > > page.
> > > >
> > > > peter choe
> > > >
> > > > Howard Lee wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I know this is more of an HTML question than JSP's but since many
> >people
> > > > on
> > > > > here are web gurus, I thought I asked here. How would you have two
> >submit
> > > > > buttons to have two different URLs? I have two <input
>type="submit">
> > > > > buttons, and each calling different JSP's. Because I can only have
> >one
> > > > > action in <form>, I couldn't see how I can do that. How would I
>have
> >two
> > > > > submit buttons to have two different URL's? Thank you very much!
> > > > >
> > > > > howard
> > >
> > > --
> > > Bill Lynch -- [EMAIL PROTECTED] -----------------
> > > CoolServlets.com -- http://www.coolservlets.com
> > > ServletForum.com -- http://www.servletforum.com
> > > ServletSource.com -- http://www.servletsource.com
> > > ------------------------------------------------------
> > >
> > >
> >===========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > > http://java.sun.com/products/jsp/faq.html
> > > http://www.esperanto.org.nz/jsp/jspfaq.html
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> >JSP-INTEREST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets