vamsi wrote:
Hi,

        I am using struts validation frame work. if the validation fails I am 
returning to the same jsp page.

        Here in this page there is some date is which was populated when the 
jsp page initially loaded.

        when saving the data I am performing the validation if it fails  I am 
doing ing something like this

       <result name="input">\XXX.jsp</result>
       <result name="success">\XXX.jsp</result>

      if  I redirect the input action the data is getting populated but the 
error messages are not getting displayed

     Why it is heppening like is there anything to conifure im my application

Validation error messages are stored in request scope, so they're lost if you redirect. If you really need a redirect in this situation, the Message Store interceptor [1] may help, though I've reports of problems using it in this situation.

L.

[1] http://struts.apache.org/2.x/docs/message-store-interceptor.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to