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 <lukasz.len...@googlemail.com> wrote: > 2009/10/30 KamHon Eng <kam...@gmail.com>: >> 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: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Best Regard, Kam Hon --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org