You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Apache Wiki <wi...@apache.org> on 2005/07/16 01:52:20 UTC
[Struts Wiki] Trivial Update of "StrutsPleaseWait" by BaqHaidri
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.
The following page has been changed by BaqHaidri:
http://wiki.apache.org/struts/StrutsPleaseWait
------------------------------------------------------------------------------
4. A jsp, pleaseWait.jsp, which represents the 'Please Wait' page itself.
5. The addition of a global forwards in the struts-config.xml that points to the pleaseWait.jsp, and of course, tell Struts that you're using another {{{RequestProcessor}}}.
- Here's a sample action mapping in struts-config.xml that takes a long time to process and needs a please wait page:
+ Here's a sample action mapping in struts-config.xml for an action that takes a long time to process and needs a please wait page:
''1. The struts-config.xml Action Mapping''
{{{
- <action path="/doLongAction"
+ <action path="/bakeATurkey"
type="com.takesforever.webapp.BakeATurkeyAction"
scope="request"
input="/turkeyForm.jsp"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org