Small point but I think the restrictions on <welcome-file> depends on the app server /
web container that you are using. I've noticed this restriction with jboss/jetty
myself but
<welcome-file-list>
<welcome-file>welcome.do</welcome-file>
</welcome-file-list>
works with exteNd. Not sure if I am getting away with it on this platform or its a bug
in other platforms.
Quentin
-----Original Message-----
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: 29 January 2003 18:48
To: Struts Users Mailing List
Subject: RE: Auto execution of an action on page display
The "welcome page" of a web application has to be a physical file, and
not the path to a Struts action, so the common convention for making
sure every real page is fronted by an action is to have the "index.jsp"
welcome page immediately do a forward (and nothing else) to a "main"
action.
-----Original Message-----
From: Howard Roark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 10:28 AM
To: [EMAIL PROTECTED]
Subject: Auto execution of an action on page display
I'm a newbie to Struts, and would like to know if its
possible for Struts to automatically execute an Action
upon the display of the initial page? I would like to
avoid having the user click on something to initiate
certain user-specific house-keeping tasks, if
possible. TIA.
HR
P.S. Initiating this action as part of the Login
action
is not possible, since this application does not
require
the use of a login process.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]