geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4647) welcome files with servlet url-mappings
Date Tue, 26 May 2009 21:53:45 GMT

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

David Jencks commented on GERONIMO-4647:
----------------------------------------

Could you provide the information that determines what you expect this url to get mapped to,
such as a servlet mapping?  Are any resource files involved?  A small sample app would be
ideal.

IIRC what worked in tomcat was a servlet mapping generated by the jsp precompilation that
mapped welcome.jsp to the compiled jsp servlet.  This worked even when the source jsp file
was removed.  In jetty the source file had to be present anyway.

> 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.


Mime
View raw message