2 Replies Latest reply on May 12, 2011 6:31 AM by Gregory Nikle

    Seam remoting if jsf servlet mapping changes *.seam

    Gregory Nikle Apprentice

      hi everyone,


      I've changed in web.xml jsf faces default  servlet mapping from


          <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.seam</url-pattern>
          </servlet-mapping>



      to


          <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.game</url-pattern>
          </servlet-mapping>



      My seam remoting stopped working. I think it is problem with mapping.




      <script type="text/javascript" src="/myProj/game/resource/remoting/resource/remote.js" />
      <script type="text/javascript" src="/MyProj/game/resource/remoting/interface.js?playersHistoryAction" />



      and here is my web.xml remoting mapping




          <servlet>
              <servlet-name>Seam Resource Servlet</servlet-name>
              <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
          </servlet>
          
          <servlet-mapping>
              <servlet-name>Seam Resource Servlet</servlet-name>
              <url-pattern>/game/resource/*</url-pattern>
          </servlet-mapping>



      can u check this and tell me what may be wrong?