ICEfaces
  1. ICEfaces
  2. ICE-9518

Compat Resource Servlet use Servlet 3 @WebServlet annotation for automatic configuration

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.3
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: Framework, ICE-Components
    • Labels:
      None
    • Environment:
      Servlet 3, Compat Resource Servlet
    • Assignee Priority:
      P3
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      The Compat Resource Servlet uses specific servlet-mappings that must be configured to set values. As such, it's an ideal candidate for using the Servlet 3 @WebServlet annotation, to allow for automatic configuration.

      Now, in a servlet 2.5 container, that annotation will not exist, so as an implementation detail, we may need to create a sub-class that contains the actual annotation, that otherwise would not be classloaded. And we should test the scenario where the web.xml explicitly configures for it along with the annotation, to ensure no odd duplicate definition problems arise.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37485 Wed Aug 21 16:04:45 MDT 2013 mircea.toma ICE-9518 Pullback auto configuring servlet to avoid confusions.
        Files Changed
        Commit graph DEL /icefaces3/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/webapp/CompatResourceServlet3.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37436 Mon Aug 19 11:15:01 MDT 2013 mircea.toma ICE-9518 Revert automatic configuration of CompatResourceServlet, using web.xml by default.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/WEB-INF/web.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37418 Wed Aug 14 17:05:36 MDT 2013 mircea.toma ICE-9518 Implement auto-registration of CompatResourceServlet in Servlet 3.0 compliant servers.
        Files Changed
        Commit graph ADD /icefaces3/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/webapp/CompatResourceServlet3.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/WEB-INF/web.xml

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: