You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mu Mike <mi...@hotmail.com> on 2004/03/23 03:38:26 UTC
How can I refresh my jsp
sample1.jsp:
<form action="/action1.do">
..
</form>
this is my action definition
<action path="/action1"
type="com.mycom.Action1"
name="myForm"
scope="session">
<forward name="success" path="/sample2.jsp"/>
</action>
but when I finished the action in sample1, it opens sample2.jsp in the
current window(not refresing the sample1.jsp window) and the sample2.jsp
page remains the old(I modified some source files in the action in sample1
which are used by sample2.jsp)
please, how can I solve this probelm,that is ,refreshing sample2.jsp in its
own window
Thanks&Regards
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: How can I refresh my jsp
Posted by Mark Lowe <ma...@talk21.com>.
<forward name="succes" path="/sampe2.jsp" redirect="true" />
On 23 Mar 2004, at 03:38, Mu Mike wrote:
> sample1.jsp:
> <form action="/action1.do">
> ..
> </form>
>
> this is my action definition
>
> <action path="/action1"
> type="com.mycom.Action1"
> name="myForm"
> scope="session">
> <forward name="success" path="/sample2.jsp"/>
> </action>
>
> but when I finished the action in sample1, it opens sample2.jsp in
> the current window(not refresing the sample1.jsp window) and the
> sample2.jsp page remains the old(I modified some source files in the
> action in sample1 which are used by sample2.jsp)
>
> please, how can I solve this probelm,that is ,refreshing sample2.jsp
> in its own window
>
> Thanks&Regards
>
> _________________________________________________________________
> 免费下载 MSN Explorer: http://explorer.msn.com/lccn
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org