>>>>> "John" == John Thorhauer <[EMAIL PROTECTED]> writes:

    John> When using JSTL and the Expression Language with a bean, how does the
    John> api handle upper/lower case.  For example, I have an class with a
    John> getPONumber() method.  Now if i want call that in the Expression
    John> Language how is it properly done:

    John> ${myobj.ponumber}
    John> ${myobj.pONumber}
    John> ${myobj.PONumber}

    John> I am trying to figure out how this works so I can standardize my calls.

I always avoid having the second letter capitalized.  It just gets confusing
otherwise.

I think the correct property name would be "poNumber", but you could either
examine the JavaBeans specification, or perhaps write some testing code using
the Introspector class, to get the answer from the horse's mouth.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP; SCWCD




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

Reply via email to