In sample1.jsp:

Instead of pointing to action1.do, point to a javascript function which will
do a win.open("action1.do?<form param values>"). Then do a refresh on
current page.


Thanks
 
-- pady
[EMAIL PROTECTED]
 

-----Original Message-----
From: Mu Mike [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 22, 2004 9:38 PM
To: [EMAIL PROTECTED]
Subject: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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

Reply via email to