-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
6.0.0.M3
-
None
It appears that the Servlet engine is looking for the existence of the welcome file in the web context before forwarding to it. This causes problems if you want to use a JSF view as your welcome file. In JSF, a translation occurs between the actual Servlet path and the view that gets rendered (the view ID). So if my welcome path is index.jsf, then the file is going to be index.xhtml (or whatever the default suffix is for JSF).
The way I think it should work is that when the last welcome file is being processed, if that file cannot be located, assume it's a servlet path and just forward to it.
(While I agree the concept of a welcome file should probably be rethought in the Servlet spec, GlassFish supports the requested feature and therefore we should offer it as "add-on" as well).
- relates to
-
AS7-5554 Welcome-file ignores servlet mapping
- Resolved