You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Maya menon <ma...@yahoo.com> on 2006/06/08 22:30:48 UTC
Reload the same page
All,
I have a page, results.jsp with a link
< ahref="deleteAction.do?/>
In deleteAction, the record will be deleted by calling the helper classes and on succesful delete the request should be forwarded again to the results.jsp.
How can I achieve this ?
In strts-config, i have it properly pointed. But the page doesnot refresh. Am I missing anything ?
Thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Reload the same page
Posted by "Albert L. Sapp" <as...@uiuc.edu>.
Maya menon wrote:
>All,
>
> I have a page, results.jsp with a link
> < ahref="deleteAction.do?/>
>
> In deleteAction, the record will be deleted by calling the helper classes and on succesful delete the request should be forwarded again to the results.jsp.
>
> How can I achieve this ?
>
> In strts-config, i have it properly pointed. But the page doesnot refresh. Am I missing anything ?
>
> Thanks
>
>
> __________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>
In our application, we place the parameters that created the results in
session scope bean. Then, you can rebuild your results for the result
page in the delete action or redirect on a successful delete back to the
action that normally does the query and builds the results.
HTH,
Al
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org