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

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

the point is, you don't have to name your JSP pages with a ".jsf" suffix.
According to the JSF specification, the default suffix for extension-mapped JSF 
resources is ".jsp".
What if I wanted a Struts action to be the default welcome page?  My welcome 
file would have a ".do" extension.
Or how about a custom servlet?  My welcome file would be "/someservlet" or 
something...
Is this a Tomcat issue?  Perhaps I have opened a case for the incorrect 
project...

> 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
>         Attachments: sampleapp.war
>
>
> 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