aspose file tools*
The moose likes Servlets and the fly likes passing value from javascript function to JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "passing value from javascript function to JSP" Watch "passing value from javascript function to JSP" New topic
Author

passing value from javascript function to JSP

arpit singla
Ranch Hand

Joined: Jun 18, 2001
Posts: 66
is there a way i can pass value from a javascript function and use that value in the JSP....
please let me know..
thanks
arpit
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Search thid forum. It has been discussed a number of times.


------------------
Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Thomas Mcfarrow
Ranch Hand

Joined: Jul 09, 2001
Posts: 137
Have the javascript set a value in a hidden field. Use the function request.getParamater("The hidden field name"); in your jsp.
[This message has been edited by Thomas Mcfarrow (edited August 12, 2001).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: passing value from javascript function to JSP