struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Iris <i...@enix.org>
Subject (struts1.1b2) redirect problem
Date Wed, 16 Oct 2002 14:26:16 GMT
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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message