Send as array

admin

Administrator
Staff member
Hi guys long time since I've been around been real busy.<br />
<br />
Is it possible to send hidden fields to a Java servlet as an array?<br />
<br />
Thanx<!--content-->No. Each form field is passed as a text value with a unique name.<!--content-->You may be able to convert them into an array in the servlet, though. In PHP, you can create arrays by ending the element's name with square brackets ([]). Something similar may exist for Java servlets, or you may be able to write it yourself.<br />
<br />
Fundamentally, though, ray326 is correct. Values are passed by HTTP as text.<br />
<br />
Adam<!--content-->Adam, Ray ,<br />
That's about what I thought I was just hoping I forgot something.<br />
<br />
Thanks Guys<!--content-->
 
Back
Top