Hi,
I think the welcome file has to be a physical file or a servlet defined in web.xml. You can define your welcome file as index.jsp and in your index.jsp file just forward to your index.do. Something like: <jsp:forward page="/index.do" />
HTH,
Saul
----- Original Message -----
From: Nicolas Laplante
To: user@(protected)
Sent: Sunday, February 11, 2007 10:29 PM
Subject: Struts and welcome-file-list
My website's homepage is the index action: /index.do.
In web.xml, I configured the welcome-file-list like this:
<welcome-file-list>
<welcome-file>index.do</welcome-file>
</welcome-file-list>
When I access the application with no action or filename, I get the
directory listing. It is not serving the homepage as configured in the
above snippet.
How can I tell the container to serve index.do when no filename is provided?
Nicolas Laplante
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)
--------------------------------
Spam/Virus scanning by CanIt Pro
For more information see
http://www.kgbinternet.com/SpamFilter.htm
To control your spam filter, log in at
http://filter.kgbinternet.com