When i submit my form from javascript, i have something on the request, is it possible to put something on session from javascript ???
Frank
Animesh Saxena
Ranch Hand
Joined: Jan 15, 2006
Posts: 62
posted
0
I don't think session object can be written by javascript. it's server side. If I am getting your problem right, I guess you wanna share data between client side (to ---> and server side
You can use a hidden html textbox which is populated by javascript, and when form submits you can access that textbox from your server side code.
Or use the standard querystring approach (Again a messy thing).
Originally posted by Frank Jacobsen: When i submit my form from javascript, i have something on the request, is it possible to put something on session from javascript ???
Frank
No. That would need to be done on the server side (Servlets or JSP).