[ 
https://issues.apache.org/jira/browse/GERONIMO-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713276#action_12713276
 ] 

Bobby Lawrence commented on GERONIMO-4647:
------------------------------------------

The URL mapping simply points to a regular JSF servlet mapping:

<servlet>
                <servlet-name>Faces Servlet</servlet-name>
                <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>

<servlet-mapping>
                <servlet-name>Faces Servlet</servlet-name>
                <url-pattern>*.jsf</url-pattern>
</servlet-mapping>

<welcome-file-list>
                <welcome-file>login.jsf</welcome-file>
</welcome-file-list>

Do you really need a sample app?  This seems pretty straight-forward....

> welcome files with servlet url-mappings
> ---------------------------------------
>
>                 Key: GERONIMO-4647
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4647
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 2.1.4
>         Environment: JRE 1.5.0_06, Windows XP
>            Reporter: Bobby Lawrence
>
> When you specify welcome files in web.xml Geronimo throws 404 errors if the 
> welcome file isn't a valid file resource.
> Values that are URL mappings to a servlet are ignored by the app server even 
> through they are valid.
> This means that I can't have a welcome file of "/index.jsf" or "/index.do" or 
> "/someservlet".
> The only welcome files that Geronimo seems to not throw a 404 Not Found error 
> are actual files found in the web application.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to