Maybe you can make your String[] Object a indexed  attribute  of  your
formbean. Then  use  html:hidden:
something like this below:
Class YourFormBean extends ActionForm{
      String[] aaas = new String[5];
      public String getAaa(int index){
            return aaas[index];
      }
      public void setAaa(String a,int index){
           aaas[index] = a;
      }
}

then in your jsp:

   <html:hidden property="aaas[0]" />
   <html:hidden property="aaas[1]" />
  <html:hidden property="aaas[2]" />

2006/10/20, Anet <[EMAIL PROTECTED]>:

Hi everybody;
  I have a String[] object. but I can't pass it via form as a hidden
object.
Is it wrong to pass a string[] object as html:hidden ???
  Thanks.



---------------------------------
How low will we go? Check out Yahoo! Messenger's low  PC-to-Phone call
rates.




--
Wong Tseng
王曾

Reply via email to