https://issues.apache.org/bugzilla/show_bug.cgi?id=47378


Tim Funk <funk...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Tim Funk <funk...@apache.org>  2009-06-17 04:05:38 PST ---
You'll need a physical file called index.jspf as a "placeholder" for the action
to occur. The file placeholder can be 0 bytes if you want. Or you can write a
filter to detect a directory is requested and forward to index.jspf.

The reason for needing a physical file is the servlet container is to allow for
multiple welcome file types. 

Imagine I had welcome files of index.jsp, then index.html, then index.htm.

Imagine I have a directory that is missing index.jsp, but has an index.html. If
I always tried to invoke index.jsp like the welcome file list says, then the
JSP servlet will return a 404 since there is no mechanism in the servlet api to
defer that decision. 

IIRC - there are more discussions of this in the archives, but those talks are
REALLY old.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to