Paul Knepper wrote:

Map params = ctx.getParameters(); Object objMyParam = params.get("myParam"); log.finer("objMyParam class = " + objMyParam.getClass().getName());

returns -> FINER: objMyParam class = [Ljava.lang.String;


If I do the following: String strMyParam = ""; log.finer("strMyParam class = " + strMyParam.getClass().getName());

returns -> FINER: strMyParam class = java.lang.String

I don't understand what is being returned from the param class? What is [Ljava.lang.String; and how do I get a simple String from the param map?

It's a String[] - you can have multiple parameters with the same name.


Regards,

Bruce Ritchie


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to