A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
passing value from javascript function to JSP
arpit singla
Ranch Hand
Joined: Jun 18, 2001
Posts: 66
posted
Aug 12, 2001 11:37:00
0
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: 1506
posted
Aug 12, 2001 13:03:00
0
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
posted
Aug 12, 2001 22:35:00
0
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://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: passing value from javascript function to JSP
Similar Threads
assign return value of function from javascript to variable in jsp
returning value from jQuery
jsp and javascript
How to redirect to a new page using JSP?
parameter from jsp to javascript function?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter