struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saul Qunming Yuan" <>
Subject Re: Struts and welcome-file-list
Date Mon, 12 Feb 2007 02:42:29 GMT

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
Something like: <jsp:forward page="/" />


  ----- Original Message ----- 
  From: Nicolas Laplante 
  Sent: Sunday, February 11, 2007 10:29 PM
  Subject: Struts and welcome-file-list

  My website's homepage is the index action: /

  In web.xml, I configured the welcome-file-list like this:


  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 when no filename is provided?

  Nicolas Laplante

  To unsubscribe, e-mail:
  For additional commands, e-mail:

  Spam/Virus scanning by CanIt Pro

  For more information see

  To control your spam filter, log in at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message