This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
jsp and javascript
How to redirect to a new page using JSP?
returning value from jQuery
parameter from jsp to javascript function?
assign return value of function from javascript to variable in jsp