Vamsi wrote:
Hi all,

          I am doing validations using struts2 validation framework.
Validations(Server-side validations) are working fine but my problem is
error messages are not getting displayed.when I am doing client-side
validations messages were getting displayed but the samething was not
working with server side validations

More Info on this : I am redirect the result it's a normal result (Not using
type="redirect" or "redirect-action")

I'm confused; are you redirecting, or not redirecting? If you are doing a redirect, then the behaviour you are seeing is expected. Validation error messages are stored in request scope and so are lost on a redirect. The easiest solution in that case would be to not redirect in this case. Alternatively, the Message Store Interceptor [1] may help.

If you are *not* redirecting, I don't know what's happening. You'll need to supply some more details, such as which theme you're using, what your JSP looks like, how your validation is configured, etc.

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

L.


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

Reply via email to