JavaScript method is the reasonable and desired solution as it serves the
desired purpose on the client side only. In JSP it is always advisable to
have
as less amount of Java code confirming the MVC pattern. I don't find any
reason
to do it on server side.


A mailing list about Java Server Pages specification and reference wrote:

> From: Eric Cho <[EMAIL PROTECTED]>@JAVA.SUN.COM on 12/26/2001 03:24
PM
>       MST
>
> Please respond to A mailing list about Java Server Pages specification
and
>       reference <[EMAIL PROTECTED]>
>
> To:   [EMAIL PROTECTED]
> cc:
> Subject:  instead of javascript
>
> Hi all,
>
> is there a way to have a confirmation box popup confirming your click.
An
> "ok" would bring the user to another page and a "cancel" will keep the
user
> where they are at?
>
> I would like to avoid javascript so if you have a method in jsp, that
would
> be great.
>
> Thanks,
> Eric
>
> _______________________________________________________
> eSafe Protect Gateway has scanned this mail for viruses, vandals and
> suspicious attachments.

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