This is probably a stupid question but I can't figure it out.

 

My faces servlet is mapped to /faces/* instead of *.faces as shown in
the Shale remoting examples.

 

So given the POJO bean foo and method bar, wouldn't the shale remote URL
be:

 

/myApp/faces/dynamic/foo/bar.jsp

 

That (and everything else I've tried) yields 404.... 

 

Relevant portions of my web.xml below:

 

  <context-param>

    <param-name>

      org.apache.shale.remoting.DYNAMIC_RESOURCES

    </param-name>

    <param-value>

      /dynamic/*:org.apache.shale.remoting.impl.MethodBindingProcessor

    </param-value>

  </context-param>

  

  <!-- Shale Application Controller Filter -->

  <filter>

    <filter-name>shale</filter-name>

    <filter-class>

      org.apache.shale.faces.ShaleApplicationFilter

    </filter-class>

  </filter>

 

  <!-- Shale Application Controller Filter Mapping -->

  <filter-mapping>

    <filter-name>shale</filter-name>

    <url-pattern>/*</url-pattern>

  </filter-mapping>

  

  <!-- JavaServer Faces Servlet Configuration -->

  <servlet>

    <servlet-name>faces</servlet-name>

    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

    <load-on-startup>1</load-on-startup>

  </servlet>

 

  <!-- JavaServer Faces Servlet Mapping -->

  <servlet-mapping>

    <servlet-name>faces</servlet-name>

    <url-pattern>/faces/*</url-pattern>

  </servlet-mapping>

------
Sean Comerford, Software Engineer
Major League Baseball Advanced Media
Office: 212.485.4508 Cell: 347.628.8769

 


************************
MLB.com: Where Baseball is Always On

Reply via email to