hi all
i am new to
struts and i am facing a problem. i hope to find a solution from all you guys ...
i have a simple user name and password login screen that checks the entered information from a mysql database. without validation framework this works. when i added the validation framework, supposed to show "name is required."
in my Actionbean i have added a validate(); when i comment this. i cannot login. but i can validate. when i uncomment this i can login but cant validate.
here are:
1. struts-config.xml
2. validator.xml
3. DBStrutsAction.java (action class)
4.DBStrutsLoginValidatorBean.java (my actionbean)
5. index.jsp (input file)
6. ApplicationResources.properties
thanks
please help me!!!
Shankha
struts-config.xml
validator.xml
DBStrutsAction.java (action class)
DBStrutsLoginValidatorBean.java (my actionbean)
index.jsp
ApplicationResources.properties