We help IT Professionals succeed at work.

Hi expert !!

ncsvietnam
ncsvietnam asked
on
208 Views
Last Modified: 2010-04-01
I have a structure file using Struts, server TOmcat, Mysql:
Login.jsp------->LoginForm.java------->LoginAction.java-------LoginDTO.java--------->LoginBean.java

(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
.
Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Commented:
where in the struts-config .xml
 <form-bean name="loginForm" type="fully qualified class name Loginorm"/>
and the same loginForm should be used in ur action .

Author

Commented:
but. and call message err in Login.jsp

Author

Commented:
and write code adequate.thanks.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.