struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vEnkaTa mohAna rAo SriperumbUdUru <mohanara...@gmail.com>
Subject Re: Store Interceptor not working with field error (using Hibernate validation)
Date Sat, 22 Dec 2012 03:52:45 GMT
Can you share complete struts.xml complete configuration.



On Fri, Dec 21, 2012 at 10:48 PM, cyanoboy <marcox872002@libero.it> wrote:

> I copied wrong. The right code is this:
>
> <interceptors>
>     <interceptor name="SessionCheckInterceptor"
> class="util.SessionCheckInterceptor"/>
>         <interceptor-stack name="mySessionValidationStack">
>             <interceptor-ref name="defaultStackHibernate" />
>             <interceptor-ref name="SessionCheckInterceptor" />
>         </interceptor-stack>
> </interceptors>
>
> <default-interceptor-ref name="mySessionValidationStack"/>
>
> <action name="insert" class="actions.InsertAction" >
>     <interceptor-ref name="mySessionValidationStack">
>         image/png
>     </interceptor-ref>
>     <interceptor-ref name="store">
>         STORE
>     </interceptor-ref>
>     <interceptor-ref name="defaultStack" />
>     <result name="success" type="tiles" >baseLayout</result>
>     <result name="error" type="redirectAction" >
>         showinsertform
>     </result>
>     <result name="input" type="redirectAction" >
>         showinsertform
>     </result>
> </action>
>
> <action name="showinsertform" class="actions.ShowInsertFormAction" >
>     <interceptor-ref name="mySessionValidationStack" />
>     <interceptor-ref name="store">
>         RETRIEVE
>     </interceptor-ref>
>     <result name="success" type="tiles" >insert</result>
>     <result name="error" type="tiles" >baseLayout</result>
> </action>
>
> So, where is the problem?
>
>
>
> --
> View this message in context:
> http://struts.1045723.n5.nabble.com/Store-Interceptor-not-working-with-field-error-using-Hibernate-validation-tp5711481p5711486.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message