"Warty, Koustubh" wrote:
>
>  Hello all,
>   I am trying to show an alert box like ' This book already exists in the Cart ' .
> What I really want to do is to display the name of the book like - ' This book "ABC"
> already exists in the Cart ' . So I understand that I need to pass ABC from JSP to
> javascript ! But I am not able to do it ?? Please help.

I describe some ideas about how to pass data between JSP (on the server) and
JavaScript (on the client) here:

  <http://TheJSPBook.com/faq/details.jsp?id=1015>

Hope it helps.

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
Author of JavaServer Pages (O'Reilly), http://TheJSPBook.com

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