Mike,

Everyone's implementation is a bit different, but my paths all point to
JSP's. The .do is the action mapped in the <action> tag.

Brian

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 08, 2002 8:49 AM
Subject: html:link question


> Hello,
>
> I'm having a problem with html:link which gives me the Cannot "retrive
> ActionForward named /admin" message.  My struts config has:
>
>   <global-forwards>
>     <forward   name="welcome"              path="/welcome.do"/>
>     <forward   name="adminMenu"            path="/adminMenu.do" />
>   </global-forwards>
>
>
>   <action-mappings>
>     <action path="/welcome"
>         type="org.apache.struts.actions.ForwardAction"
>         parameter="/WEB-INF/pages/welcome.jsp"/>
>
>     <action path="/adminMenu"
>         type="org.apache.struts.actions.ForwardAction"
>         parameter="/WEB-INF/pages/admin-menu.jsp"/>
>   </action-mappings>
>
> My jsp has:
>
> <html:link forward="adminMenu">Administrative Functions</html:link>
>
> This gives me the error message.  However, if I replace "adminMenu" with
> "welcome" it works just fine.  Also, if I use the page attribute it works
> for welcome.do and not for adminMenu.do.  Any help is appreciated!
>
> Mike
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to