you have to use javascript for client side verifications .. so you have to
put onClick="sure()"
and in the javascript:
if (confirm("blabla blah?")) { do.something } else { do.nothing }
that is the easier way to do this.. if you redirect the user to another jsp
you may get confused ...

regards,
stefan bushev

>From: Scott Fitzgerald <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Button navigation in jsp.
>Date: Wed, 13 Sep 2000 14:53:49 -0230
>
>Greetings,
>
>I have a .jsp page that gives the user two options (i.e. two buttons - add
>or delete). I want to present the user with a confirm.jsp to confirm their
>selection and once they do, direct them to the appropriate page to complete
>their operation. Do I need to use JavaScript (i.e. onClick)? I would rather
>not if possible. I have been trying to get the value of the button from the
>request object but it doesn't seem to work. Any help would be greatly
>appreciated.
>
>Thanks,
>
>Scott Fitzgerald
>
>===========================================================================
>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.

Share information about yourself, create your own public profile at
http://profiles.msn.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

Reply via email to