sorry for the incomplete answer.
But the easiest way out is that keep an intermediate jsp page
Wh u click on any of the buttons the values are passed to that page an from
there prbably on the basis of which buttomn was clicked u can do
jsp:forward. This is the simplest way out.





Dheil Corona <[EMAIL PROTECTED]> on 06/19/2000 02:44:21 PM

Please respond to A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Kher Tamanna-SWD-ITIL-UB/Itilmail)

Subject:  Re: how can i have 2 actions..




oh..thanks
but i can't use 2 forms on it..
coz the elements of the form are both use by my two submit button.
i.e. if a check box is check, then its contents are passed to other page on
which submit button is clicked...

what do you think..

-dheil



----- Original Message -----
From: Lee Elenbaas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 3:47 PM
Subject: Re: how can i have 2 actions..


> why not using two forms, and submitting the second from the onSubmit
event
> of the first. or maybe even submitting both from an onClick of a
button/link
> lee
> [EMAIL PROTECTED]
>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dheil Corona
> Sent: Monday, June 19, 2000 10:36 AM
> To: [EMAIL PROTECTED]
> Subject: how can i have 2 actions..
>
>
> hi pipol,
>
> can anyone help with this:
> i have a big problem on form submission..
>
> how can i  manage 2 action in one form
> for ex. sumit1 will go to link1
>     and link1 process some parameters passed by the forms elments
>     and submit2 will go to link2, same thing its also pass parameters..
>
> thank you..
>
> -dheil
>
>
===========================================================================
> 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

===========================================================================
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

Reply via email to