prajyot jadhav

Greenhorn
+ Follow
since Dec 26, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by prajyot jadhav

actually i am using struts, and taking one client specific value form javascript and setting that to JSP input element (say input type="text" name="NAME")
now i want to use that value in Action.java class which extends DispatchAction that we have in struts,

i tried to get that value using request.getParamter() in this class inside a method which has following signature

public ActionForward FunctionName (ActionMapping mapping,ActionForm form,HttpServletRequest request,HttpServletResponse response)
throws Exception {
....
JavaVariable=request.getParamter('NAME[i.e. mentioned in input tag of JSP ]')
.....
}

but request.getParamete() is returning null...
12 years ago
i am taking one value form javascript and setting it to input element in jsp and i want to set this value to java variable... how can i do this..?
also suggest if its possible using doGet method since data to be sent is visible in browser address bar when request submitted..
12 years ago
how to assign return value of function from javascript to variable in jsp..?
or directly to the java class variable in struts..?
12 years ago
JSP
Thanks Tim..., could you please suggest how can i get client location from his IP in java or jsp
12 years ago
JSP
"want client's time zone from server side":--
i am using an web application which runs on remote server, it shows the time and date in EST format as that of its server but i want to display that in its client's timezone
i tried to make so many changes in JSP and Java action classes but it always gives time in EST i.e. server side format....

can anyone please help me how can i get timezone of client which could be in any timezone..?
12 years ago
JSP
"want client's time zone from server side":--
i am using an web application which runs on remote server, it shows the time and date in EST format as that of its server but i want to display that in its client's timezone
i tried to make so many changes in JSP and Java action classes but it always gives time in EST i.e. server side format....

can anyone please help me how can i get timezone of client which could be in any timezone..?
12 years ago