You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by me...@bpam.fr on 2003/05/16 18:05:34 UTC

Réf. : Re: action congif problem

thank you very much !




"Sergey Smirnov" <si...@exadel.com>
16/05/2003 18:01
Veuillez répondre à "Struts Users Mailing List"

 
        Pour :  "Struts Users Mailing List" <st...@jakarta.apache.org>
        cc : 
        Objet : Re: action congif problem


Just put exception before forward. (look DTD for details)

Regards,
Sergey Smirnov
http://www.exadel.com/strutsStudio


----- Original Message ----- 
From: <me...@bpam.fr>
To: <st...@jakarta.apache.org>
Sent: Friday, May 16, 2003 8:55 AM
Subject: action congif problem


> Hi,
>
> I'm tearing my hair off about this action definition error
> in my struts config file.
>
> The problem is due to the exception element insertion(when I remove it
> ,everything works fine).
>
> can someone tells me what's wrong in my definition.
>
> <action     path="/lancerSimulation"
>                         name="simulationForm"
>
type="com.bpam.raise.web.actions.ExecuteSimulationDispatcher"
>               scope="request"
>               input="/jsp/saisieSimulation.jsp"
>               parameter="task"
>            validate="true">
>       <forward name="success"              path="/jsp/restitution.jsp"/>
>        <exception
>       key="error.constraints.varmax"
>       path="/jsp/saisieSimulation.jsp"
>       scope="request"
>       handler="com.bpam.raise.exceptions.RaiseExceptionHandler"
>       type="com.bpam.raise.common.exception.NoMatchCriteriaException"/>
> </action>
>
>
> thanks in advance.
>
> Meissa


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org