Will I have to define the action in the struts.xml? I'm currently
using annotations to handle mapping.
Jim C.
> This works for me:
>
> <struts>
> <package ...
>
> <global-results>
> <result name="error" type="redirect">DeadEnd</result>
> </global-results>
>
> ...
> <action name="DeadEnd" class="com.rp.db.actions.DeadEnd">
> <result>deadEnd.jsp</result>
> </action>
>
> ...
> </package>
> </struts>
>
> The entire action class is:
>
> @SuppressWarnings("serial")
> public class DeadEnd extends ActionSupport
> {
>
> }
>
> and when any action returns "error" the deadEnd.jsp page is displayed.
>
> - Bill
>
> On Thu, Sep 10, 2009 at 11:49 AM, Jim Collings <[email protected]> wrote:
>
>> Anybody know what the syntax for this is? I don't seem to be getting it
>> right.
>>
>>
>> Jim C.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]