Mantis - Resin
Viewing Issue Advanced Details
463 minor always 11-23-05 00:00 03-31-06 09:32
user470  
ferg  
normal  
closed 3.0.15  
3.0.15 fixed  
none    
none 3.0.19  
0000463: welcome-file from a servlet does not seem to work
RSN-512
I've a web.xml (Shortend):

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" [^] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" [^] version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee [^] http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> [^]
...
  <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
...
  <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
  </servlet-mapping>
...
  <welcome-file-list>
    <welcome-file>faces/Page1.jsp</welcome-file>
  </welcome-file-list>
</web-app>

So my welcome page should be generated out of the JSF Page1. But it doesn not. Instead I see a directory listing of the base of my web application.

The same works fine on other containers:-(
Tested on Linux (SuSE 10), with jdk 1.5.0_05 but I don't think that matters.

Notes
(0000983)
ferg   
03-31-06 09:32   
server/10r6