File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Dec 24, 2010
Jun 15, 2012 00:06:21
I would like to know is it possible to pass value from
Please let me know if there is any possible way for it.
Thanks in advance.
Joined: Jan 15, 2010
Jun 15, 2012 00:45:41
what I can say is from java you can store the value in request and from request you can take that value and store it in hidden element on HTML. once you got the value in hidden element it can be easily accessible in java script
<input type="hidden" name="javaresponse" id="javaresponse" value="<%=request.getAttribute("javaResponse")%> "/>
Author and ninkuma
Joined: Jan 10, 2002
Jun 15, 2012 08:18:38
Not directly. This question has been asked many times and has an entry n the
Asking smart questions
Books by Bear
I agree. Here's the link:
assign var to java variable
Passing value to JSP from a method in Action class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015