I'm using eclipse code to generate the getters and setters.
private String sUsername;
  public String getsUsername() {
  return sUsername;
  }
  public void setsUsername(String sUsername) {
this.sUsername = sUsername;
  }

My getter / setter is correct.

Besides, changing the getter / setter is not solve the validation
problem. The xml validator unable to 'detect' sUsername as request
parameter.

It work well on struts2.1.6 too.



On Fri, Oct 30, 2009 at 3:40 PM, Lukasz Lenart
<[email protected]> wrote:
> 2009/10/30 KamHon Eng <[email protected]>:
>>   private String sUsername;
>>   public String getsUsername() {
>>   return sUsername;
>>   }
>>   public void setsUsername(String sUsername) {
>
> Setter/getter should be set/getSUsername, try that way
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
> http://dailylog.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Best Regard,

Kam Hon

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to