4 Replies Latest reply on Feb 10, 2009 2:55 PM by peterj

    servlet-mapping for SES links fails: *.jsp/*

    lmajano

      I have tried to add a new servlet-mapping to my web.xml to allow for SES type urls such as:

      index.cfm/page/2
      index.jsp/page/2

      I have been able to map these kind of URL's in Resin by just doing a new servlet-mapping like this:

      <servlet-mapping>
      <servlet-name>CFMLServlet</servlet-name>
      <url-pattern>*.cfm/*</url-pattern>
      </servlet-mapping>

      However, jboss web throws and error:
      Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> *.cfm/* in servlet mapping
      at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2488)
      at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2464)
      ... 49 more

      How can this mapping be invalid if it works in RESIN, Jetty and JRUN. Can you please provide some insight?