--- Mufaddal Khumri <[EMAIL PROTECTED]>
wrote:
> <action name="workOnOrder"
>         class="com.experiment.MyOrderAction">
>   <result name="error" type="freemarker">
>     /support/error.ftl
>   </result>
> </action>
> On the other hand,
> http://mydomain/glop/workOnOrder.action
> Throws an error, but struts does not take the user
> to /support/error.ftl page
> 
> Basically, I want to render the error.ftl page on
> validation failure. Is this possible?  What am I 
> missing?

Validation normally returns you to the "input" result
(via the default workflow interceptor). Off the top of
my head I don't know of an immediately trivial way to
change that without doing the validation manually;
somebody else probably does though.

d.


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

Reply via email to