I am using strut2.0.My problem is that i want on click of hyperlink my action method name save should call and new window
should open.
I did like this but its only opens the window not calling the method .
Please help me how to do this.
pankaj semwal wrote:then how to stop this message.
I think this is not the answer what I asked in my previous post !
But still,, usually I got such error when I refresh the page and FF alerts me like, "This is POST action, do you want to resend it ?" or something like that ..
pankaj semwal
Ranch Hand
Joined: Oct 07, 2008
Posts: 300
posted
0
Hi,
i get this message when i select check boxes and then press submit button .After this the message come
To display the webpage again,Intenet Explorere needs to resend the information you've previosusly submitted.
If you were making a purchase ,you shuld click cancel to avoid a duplicate transaction.Othwerise ,click retry to
display the webpage agin.
Please help me how to stop this one.And one more probelm i am facing is that
when popwindow opens its does not display the records which i currently selected.
When i refesh the page then its show my all the current records.
i get this message when i select check boxes and then press submit button .After this the message come
To display the webpage again,Intenet Explorere needs to resend the information you've previosusly submitted.
If you were making a purchase ,you shuld click cancel to avoid a duplicate transaction.Othwerise ,click retry to
display the webpage agin.
This is something weird, a normal SUBMIT action doesn't display such message, if it really do, then there is something wrong you written in your JSP/HTML pages, post the code here..
pankaj semwal wrote:And one more probelm i am facing is that
when popwindow opens its does not display the records which i currently selected.
When i refesh the page then its show my all the current records.
The quick remady will be, just add META tag, which refresh the pages as soon as it loads,
i used <meta http-equiv="refresh" content="600"> now that message is not coming.But still i am
not getting the records which i currently selected.I get records when i have to refresh the page.
- You're not actually submitting the form to the popup window; is that your intention?
- Ideally, form onsubmit handlers should return true (process the submission) or false (cancel the submission). You're returning a window--IIRC this means the form submission will still occur (could be wrong about that though).
I'm not convinced you're having a Struts issue.
pankaj semwal
Ranch Hand
Joined: Oct 07, 2008
Posts: 300
posted
0
Hi,
One more problem is i am facing is that in jsp page if i have only one check box then it does not
open the new window.