Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: John Cooper   on Sep 28 In Java Category.

  
Question Answered By: Bradley Evans   on Sep 28

Can i send it to the actionform using array instead of arrraylist? but
i have a few questions now. I declare this in my javascript:
"document.form.test[i].value=m1.options[i].value;" where i assign each
options the user picked into a hidden value named test. but when i
send this "test" value to the action form and display it with a for
loop, i get an error. i set the hidden "test" property like this:
"<html-el:hidden name="form" property="test"/>" in my jsp. Does it
mean the value "test" sent by the javascript is already an array, and
can be used in the actionformbean? if not, please show me some example
on how to retrieve the value in the actionformbean... help is really
appreciated...

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Struts Or get search suggestion and latest updates.


Tagged: