When you submit your html page
 Either
  1:  you can send the value as query string.
OR
  2: you can submit the form which conatins some hidded fields.
    Assign the value to hidden field of form in the JavaScrip then submit that.

Regards
Pramod.

"Chetan K.R" wrote:

> Hi all,
>
> I need to pass the value of a JS variable to a JSP method
>
> The JSP is enclosed inside <script> tag
>
> The value returned by JSP is used for some purpose in JS
>
> Any idea how to do it ?
>
> TIA
>
> 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

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