struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dallas_Brown...@ovid.com
Subject Re: absolute paths for forwards?
Date Mon, 05 Mar 2001 21:44:27 GMT

AAAAhhhhhh  That works beautifully!


                                                                                         
                      
                    Zach Thompson                                                        
                      
                    <zach@mthoodm        To:     struts-user@jakarta.apache.org       
                         
                    edia.com>            cc:                                          
                         
                                         Fax to:                                         
                      
                    03/05/01             Subject:     Re: absolute paths for forwards?   
                      
                    02:38 PM                                                             
                      
                    Please                                                               
                      
                    respond to                                                           
                      
                    struts-user                                                          
                      
                                                                                         
                      
                                                                                         
                      




I think you need to do something like:

    forward.setRedirect(true)

for this to work.  Look at the javadocs for the ActionForward object.

Zach

Dallas_Browning@ovid.com wrote:
>
> It appears that the forward tags on struts-config work fine with relative
> tags.  I haven't yet had success with absolute tags (http://www.yahoo.com
).
> In fact, when I tried to use an absolute tag, I got the following error "
> java.lang.IllegalArgumentException: path must be absolute:
> `http://www.yahoo.com/' "
> Am I missing something? Is what I typed verily not an absolute path? How
> would I put an absolute path in my forward tag?
>
> Thanks,
>
> Dallas
>
>





Mime
View raw message