hi, I have two action classes, UserAction(methods: login, logout) & EmployeeAction(methods: add, update, view) both have a validate method. It is invoked for every method by default. Is there a way to bypass call to validate method on say logout, as doing so throws an nullpointer exception on fields. Same for view method, that doesn't need any validation.
struts.xml
<action name="*Employee" method="{1}" class="package.EmployeeAction">
<result name="not_found">/WEB-INF/errors/not_found.jsp</result>
<result name="success">/WEB-INF/{1}Employee.jsp</result>
</action>
2) how can I implement client side validation for 3 jsp pages, add.jsp, view.jsp & update.jsp which all call a method of a single action class?
3) are there any tutorials on how to create table pagination in struts2? I was unable to locate one. documentation?
-Nishant.