You probably meant to do something this:
<action
path="/manageAssets"
type="com.skp.action.LoginAction">
<forward name="success" path="/jsp/admin/manageAssets.jsp"
redirect="true" />
</action>
... where LoginAction would return mapping.findForward("success");
The way you wrote it told Struts that for requests that match
"/manageAssets", it should automatically redirect the request to the
"/jsp/admin/manageAssets.jsp"
Hubert
On Fri, 4 Mar 2005 14:55:42 -0600, Scott Purcell <[EMAIL PROTECTED]> wrote:
> Hello,
> I have this in my struts-config.xml file
>
> <action
> path="/manageAssets"
> type="com.skp.action.LoginAction"
> forward="/jsp/admin/manageAssets.jsp" redirect="true" />
>
> When I call the container with "/action/manageAssets" it just forwards to the
> jsp page and does not use the type? I put a bunch of println statements in
> com.skp.action.LoginAction but it is not called? Could I be missing something?
>
> Thanks,
>
> Scott K Purcell | Developer | VERTIS |
> 555 Washington Ave. 4th Floor | St. Louis, MO 63101 |
> 314.588.0720 Ext:1320 | [EMAIL PROTECTED] | http://www.vertisinc.com
> <http://www.vertisinc.com/>
>
> Vertis is the premier provider of targeted advertising, media, and
> marketing services that drive consumers to marketers more effectively.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]