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
declaring an arraylist or array type hidden variable in a form
Joined: Mar 26, 2009
Jun 11, 2009 07:26:45
can any body tell me how to declare an input type hidden variable of type arraylist in a form in a jsp page.
Thanks and Regards.
Author and ninkuma
Joined: Jan 10, 2002
Jun 11, 2009 07:36:10
There is no arraylist control in HTML. You just need to use the regular, everyday controls.
Asking smart questions
Books by Bear
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jun 11, 2009 13:46:08
What good is a hidden arraylist in a form?
Are you trying to send a list of
values in a single hidden variable? If so, consider concatenating the values together with comma separators - the jsp/servlet side will get a single long string you can take apart into the individual values.
Java Resources at
I agree. Here's the link:
subject: declaring an arraylist or array type hidden variable in a form
Passing objects via form submit
JSP Help-simple question
Array lists syntax in jsp
sendRedirect fails to post data along with url if the data is too large
Passing an arrayList of JavaBean Object as hidden variables
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013