2008/10/4 alley sys <[EMAIL PROTECTED]>:
> thanks for your mail. yeah it shows 1 value is there having address
> but i need the value not address

I'm not sure if I understood you, but if it shows 1, you should be
able to access it as a array, but if it's only one element, OGNL
shouldn't create an array, maybe try something like this

Object o = parameters.get("par");
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(a[i]);
  }
}


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

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

Reply via email to