Re: Trouble with struts2 validation

2009-11-13 Thread Dave Newton
vikrant S wrote: Initially I did not check for null textfield and I was able to validate the username and password directly from database.but When I applied validate method in my action class It began to validate for null fields but not for stored username and password. I am pasting my code..

Re: Trouble with struts2 validation

2009-11-12 Thread Brian Thompson
t;public void setUserid(String userid) { >this.userid = userid; >} >public String getPwd() { >return pwd; >} >public void setPwd(String pwd) { > this.pwd = pwd; >} > > }

Trouble with struts2 validation

2009-11-12 Thread vikrant S
blic void setPwd(String pwd) { this.pwd = pwd; } } And my struts.xml is as follows:- http://struts.apache.org/dtds/struts-2.0.dtd";> success.jsp /login.jsp

Trouble with struts2 validation

2009-11-12 Thread vikrant S
-- View this message in context: http://old.nabble.com/Trouble-with-struts2-validation-tp26316069p26316069.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr