[seam-issues] [JBoss JIRA] Created: (SEAMFACES-67) Provide a ServletContainerInitializer that automatically registers the FacesServlet

Dan Allen (JIRA) jira-events at lists.jboss.org
Sun Dec 12 02:37:52 EST 2010


Provide a ServletContainerInitializer that automatically registers the FacesServlet
-----------------------------------------------------------------------------------

                 Key: SEAMFACES-67
                 URL: https://issues.jboss.org/browse/SEAMFACES-67
             Project: Seam Faces
          Issue Type: Feature Request
          Components: Configuration API
    Affects Versions: 3.0.0.Beta1
            Reporter: Dan Allen
            Assignee: Dan Allen
            Priority: Minor
             Fix For: 3.0.0.Beta2


Since this module is strictly focused on JSF enhancements, we can be (almost) certain that JSF is being used. In an effort to minimize configuration, Seam Faces should automatically register the FacesServlet if it's not already configured by the application. Automatic registration is possible using a ServletContainerInitializer extension.

Granted, most Java EE 6 application servers are now automatically configuring the FacesServlet under certain conditions. JBoss AS registers it for all applications by default. GlassFish registers it if the application has a WEB-INF/faces-config.xml. We can normalize this behavior by registering it if Seam Faces is present (so WEB-INF/faces-config.xml isn't even required).

This feature will only activate in Servlet 3.0 environments.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list