This works, but the matching patterns for servlets are unintuitive, so it can 
be very hard to get this to work as you want. I can't say about it matching the 
servlet 3 spec, I'd almost guarantee not.

Is there something specific you're trying to achieve?

The usual symptom when attempting to do this is to break all the servlet 
internal dispatching, such as the default servlet and jsp rendering.

Using the thundr framework, this is the standard web.xml:

<servlet>
                <servlet-name>thundr</servlet-name>
                <servlet-class>com.threewks.thundr.ThundrServlet</servlet-class>
                <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
                <servlet-name>thundr</servlet-name>
                <url-pattern>/</url-pattern>
        </servlet-mapping>

        <!-- Objectify filter - required for Objectify to work -->
        <filter>
                <filter-name>ObjectifyFilter</filter-name>
                
<filter-class>com.googlecode.objectify.ObjectifyFilter</filter-class>
        </filter>
        <filter-mapping>
                <filter-name>ObjectifyFilter</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d9919371-16c0-471e-bbee-13bc77df2e39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to