> This entry is working:
>
> <action name="signon" class="signonAction">
>   <result>/WEB-INF/jsp/index.jsp</result>
> </action>
>
> This entry is not:
>
> <action name="signon" class="signonAction">
>   <result>/shop/index.action</result>
> </action>

It's not entirely clear what the question is, but in case the
statement is actually "why", I'll answer.

The first result forwards to a JSP. The second attempts to forward to an action.

You can set it so forwards are processed by the filter (I forget the
exact configuration, something in web.xml, it's searchable), or you
can redirect to the action by name, e.g.:

<result type="redirectAction">index</result>

Dave

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

Reply via email to