Hi friends,
How do you do? i am fine. i hope that you are all fine.
I have some doubt about
struts.
1. I created Bean name IlmLowBatExceptionBean.java and made entry into struts.config.xml like
<form-bean name="ilmlowbatException" type="com.atroad.exception.bean.IlmLowBatExceptionBean"/>
2.I created validation stuff into validation.xml like
<form name="ilmlowbatException">
<field property="exceptionName" page="1" depends="required, mask">
<arg0 key="ilmlowbatException.exceptionName"/>
<msg name="mask" key="error.exceptionName.mask"/>
<var>
<var-name>mask</var-name>
<var-value>${name}</var-value>
</var>
</field>
</form>
3.I entered appropriate message into properties file for the field that i have specified above.Its look like
error.exceptionName = Exception Name
i have created everthing like action,
jsp .It is working fine,but validation part only cannot work.
Note: i included validation.jar file also.
could anyone please suggest me?
Is there any alternative way to proceed validation part .
Thanks
Arulraj