ncsvietnam
asked on
Hi expert !!
I have a structure file using Struts, server TOmcat, Mysql:
Login.jsp------->LoginForm .java----- -->LoginAc tion.java- ------Logi nDTO.java- -------->L oginBean.j ava
(Strust-config.xml, Validation.xml, Validator-rules.xml)......
i want known code blame with username and password not null on form Login.jsp using file validator-rules.xml and validation.xml. And recommend with part code in which file.
thanks
.
Login.jsp------->LoginForm
(Strust-config.xml, Validation.xml, Validator-rules.xml)......
i want known code blame with username and password not null on form Login.jsp using file validator-rules.xml and validation.xml. And recommend with part code in which file.
thanks
.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
but. and call message err in Login.jsp
ASKER
and write code adequate.thanks.
<form-bean name="loginForm" type="fully qualified class name Loginorm"/>
and the same loginForm should be used in ur action .