The solution is to specify the forward as a redirect:
<forward name="success" path="/page.jsp#target" redirect="true"/>
joe
Joe Faith wrote:
> I'm having a problems specifying a target in an ActionForward.
>
> I want to do something like this in a struts-config.xml file:
>
> <forward name="success" path="/page.jsp#target" />
>
> But I get a '404:resource not available' error.
>
> Trying the same forward without the target works fine, as does typing
> the same context-relative URL in the browser.
> Any ideas?
>
> (I'm using Struts 1.0 on Tomcat 4.0.1)
>
> thanks
>
>
> --
> Joe Faith
> http://www.runtime-collective.com
> T: (+44) 01273 234294
> M: (+44) 07968 292064
>
>
--
Joe Faith
http://www.runtime-collective.com
T: (+44) 01273 234294
M: (+44) 07968 292064