Hi All, I have made the page where userList is displayed page wise. There is the link 'createUser' on that page.
I kept validation.xml file for CreateUser fields. If validation fails then it redirects to same 'UserDetail' page with validation Messages. Now..There is an integer variable 'page' in my UserAction file. I use- form 'Get' method for page selection. now if user change from http://localhost:8080/Isp/User?page=1 to http://localhost:8080/Isp/User?page=anyNonNumeric it redirects to 'UserDetail' page. as it setPage() fails. I want to devide these both case page redirection. For validation it should redirect to same page. and For Page=nonNumeric to different exception page. How can I do so? Any idea? My Struts.xml is <struts> <package name="ISP" extends="struts-default"> <interceptors> <interceptor name="closeSession" class="isp.interceptor.CloseSessionInterceptor" /> <interceptor-stack name="default"> <interceptor-ref name="closeSession" /> <interceptor-ref name="completeStack" /> <interceptor-ref name="paramsPrepareParamsStack" /> </interceptor-stack> </interceptors> <action name="user*" class="isp.action.UserList" method="{1}"> <interceptor-ref name="default" /> <result name="view">/ISP_View/UserDetailView.jsp</result> <result name="input">/ISP_View/UserDetail.jsp</result> <result name="create">/ISP_View/UserDetail.jsp</result> <result name="save">/ISP_View/UserDetail.jsp</result> <result name="search">/ISP_View/UserList.jsp</result> </action> </struts Thanks, Neha -- View this message in context: http://www.nabble.com/Differentiate-Redirection-of-page-if-validator-fails-and-action-property-setter-fails.-tp15560564p15560564.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]