Joel
<xsp:logic>
// create an Object from jpath expression; should be String class per javadocs
Object o = <jpath:value-of select='searchType' />;
String oClass = o.getClass().getName();
// create an Object from static String
Object oo = "Test 123";
String ooClass = oo.getClass().getName();
</xsp:logic>
<!-- display each class name --> <oClass><xsp:expr>oClass</xsp:expr></oClass> <ooClass><xsp:expr>ooClass</xsp:expr></ooClass>
Returns the following:
<oClass>[Ljava.lang.String;</oClass> <ooClass>java.lang.String</ooClass>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]