Dunno why you're doing this, but you can tell the browser to refresh with a different 
URL in the meta tag:

<head>
<meta http-equiv="Refresh" content="30"; URL="http:///www.myserver.com/someURL.do"; >
</head>

Note that the URL must be an absolute URL, not a relative one.  You'll prolly have to 
use a scriplet to create the absolute URL in the header.

--joe

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 30, 2003 10:16 AM
> To: [EMAIL PROTECTED]
> Subject: How to REDIRECT?
> 
> 
> Hello,
> 
> how to say to IE (browser) to change url? use redirect 
> instead forward.
> 
> one Action class call another as it defined in struts-config.xml -
> SaveAction --> ListAction
> 
>     <action path="/save"
>         type="SaveAction"
>         name="editForm"
>         scope="request"
>         validate="true"
>         input="/Edit.jsp">
>         <forward name="found" path="/list.do"/>
>     </action>
> 
>     <!-- List -->
>     <action path="/list"
>         type="ListAction"
>         name="listForm"
>         scope="request"
>         validate="false"
>         input="/List.jsp">
>         <forward name="success" path="List.jsp"/>
>     </action>
> 
> the List.jsp has "refresh" meta tag
> and it need to call list.do, but IE still has old save.do 
> instead of it.
> 
> what I need to do to replace that?
> 
> tnx
> 
> Best Regards.
> Michael.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to