This has to do with the bean spec.

And what you say is right.
If you use all uppercase, it will leave the first letter alone, 
otherwise it will uppercase the first letter. And this would include 
your "a" example.


Arron.

Paradis, André wrote:

>Hi,
>
>i had the following case where another process calls an action in my
>application with a parameter in url named "A".
>
>like: .../actions/process?A=1&UNAME=andre
>
>I coded a form bean with a getA/setA pair, but it never gets called.  if
>I use "a" in the call to the action, it works.
>
>however, getUNAME() and setUNAME() gets called 
>
>from this portion of code in struts 1.0, I can see that
>property names are case sensitive:
>
>from PropertyUtils.getPropertyDescriptor(Object bean, String name):
>
>for (int i = 0; i < descriptors.length; i++) 
>{
>     if (name.equals(descriptors[i].getName()))
>        return (descriptors[i]);
>}
>
>Is this a standard requierments that parameter names must be case
>sensitive?  even so, how can one populate a bean with single letter
>uppercase property names?
>
>Thanks for any inputs
>
>
>Andre
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>



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

Reply via email to