Are you saying you want to set the default result type to "redirect"
globally or that you just want a global result type of "redirect" to be
available to your actions?
If the former, just redefine the "redirect" result type in your package and
set it to default="true", like:
<result-types>
<result-type name="redirect"
class="org.apache.struts2.dispatcher.ServletRedirectResult" default="true"/>
</result-types>
If the latter, make sure your package extends "struts-default" that's where
all the standard result types get defined.
(*Chris*)
On Mon, Sep 22, 2008 at 9:25 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Ho all.
>
> I'm il train!
>
> It is possible in struts.xml to have global result of type redirect?
>
> My struts.xml doesn't give validation errors, but results or type redirect
> aren't visible ho the controller.
>
> Please help
>
> Gianluca
>
>
>
> Inviato da iPhone
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>