2 Replies Latest reply on Nov 30, 2009 7:21 AM by ramboid

    InvokerServlet in JBoss 4.2.2

    ramboid


      --------------------------------------------------------------------------------

      With JBoss 4.2.2, can I use the InvokerServlet in th e<servlet-mapping> section of my web.xml? With JBoss 4.0.5GA, I was able to create war deploymenst with a web xml that would map the servlets as follows:

      <servlet-name>invoker</servlet-name>
      <servlet-class>
      org.apache.catalina.servlets.InvokerServlet
      </servlet-class>
      <load-on-startup>2</load-on-startup>

      <servlet-mapping>
      <servlet-name>invoker</servlet-name>
      <url-pattern>/servlet/*</url-pattern>
      </servlet-mapping>

      But in JBoss 4.2.2 I must explicitly add a mapping for each servlet in the web.xml file instead of jsut using the invoker