On Friday 24 April 2009 19:47:04 Siddiq Syed wrote: > Hi all, > > Problem statement. : > > When validation happens in struts 2 it will redirect to result type > "Input" if type="tiles" JSP will display the validation message and If > result type="redirect-action" , validation message will not get display. In > order to display validation messages , I am using interceptor where > validation messages are will be stored in session and the same will be > displayed in JSP. > Problem is validation messages are getting displayed but the values are > getting lost in the text boxs. The reason for this is because its the brand > request object because of redirect-action. > Is there any way where i can forward to action , but still can able to > retrive the previous request. ? > I know we can use dispacther , but dispacther uses only ".jsp" . >
I could be wrong, but i think redirectAction is the only result type that ends up with a new request... I don't really understand the use case where validation fails and you want to go to input for a different action... Can you post your struts.xml section pertinent to this problem. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org