Hi Rupali,
This is very easy with JavaScipt.
<Form Method="post" Action="<your another JSP or servlet name>">
<input="Submit" name="delete" value="delete" OnClick="return
window.confirm('Are you sure you want to delete?')">
</form>
this works very well.
good luck.
- aparna
-----Original Message-----
From: Rupali Bains Goswami [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 11:16 AM
To: [EMAIL PROTECTED]
Subject: Popup Windows
In my jsp files, the user can update or delete some information. If they
select delete I need to popup a confirmation window just to be sure that
they want to delete the information and if they say yes i go to another jsp
page, delete the row from the database and refresh the list
Can someone tell me how i can do this confirmation dialog??
Thanks
________________________________________________________________________
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