You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Iris <ir...@enix.org> on 2002/10/16 16:26:16 UTC
(struts1.1b2) redirect problem
Hello,
I just change from struts1.1b1 to struts1.1b2 and I have a redirect
problem.
In my struts-config I have a forward redirected: (to change from
context-path1 to context-path2)
<global-forwards type="org.apache.struts.action.ActionForward">
<forward name="getlist"
path="http://machine:8080/context-path2/jsp2.jsp"
redirect="true"/>
</global-forwards>
This works fine with struts1.1b1 but with struts1.1b2 there is a problem:
In my Action class I get the ActionForward and trace it:
ActionForward af = mapping.findForward("getlist") ;
System.out.println(af) ;
The result is:
[STDOUT]
ForwardConfig[name=getlist,path=http://machine:8080/context-path2/jsp2.jsp,redirect=true]
but in the browser:
_The requested resource
(/context-path1/http:/machine:8080/context-path2/jsp2.jsp) is not
available._
Is this a bug in struts1.1b2 or have I to change something in my
struts-config ?
Iris
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>