hi,
i am developing a web application for the first time using
MyEclipse7.0
IDE
hibernate 3
struts 1.1
MyEclipse
Tomcat 6
i want to have a <html:form> for my
jsp of connection which contains textfields userName, password...and it must invoke on submit the action /userLogin which is already mapped in struts-config.xml there are two possibilities
either to have an other jsp page in success
or to redirect to the same jsp if there are some missing or invalid fields
here my code
messagesRessources.properties
userLogin.jsp(i just put the code of my form)
userLoginForm(it contains all getter and setter method and here is the validate method)
finally for userLoginAction it just contains the different mapping values
my problem is instead of having a message error in front of the missing field it just cause an exception as if i add it to validator-rules.xml
please could you help me to display these messages??