2008/10/5 alley sys <[EMAIL PROTECTED]>:
>
> hi,
> thanks for your quick reply. i checked the code
> it shows nothing.
>
> code:
>  Object o = getParameters().get("partyid");         if (o instanceof String) 
> {             System.out.println("String = " + o);         } else if (o 
> instanceof String[]) {             String[] a = (String[]) o;             
> for(int i = 0; i < a.length; i++) {                 
> System.out.println("String partyid:"+a[i]);             }         }
>
> output:
> 17:20:08,643 INFO  [STDOUT] String partyid:
> but the value is there
> partyid=[Ljava.lang.String;@38bbd7}
> i don't know why it doesn't shows ?

It's something strange, it's mean that a[i] is array of String ([ -> array)

Which Struts version?


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to