Hi,
The following filter does not work on SDK 1.3.3 when the path is "/xxx/yyy".
MyFilter.java:
public class MyFilter implements Filter {
@Override
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws IOException, ServletException
{
response.getWriter().write("Hello");
}
...
}
web.xml:
<filter>
<filter-name>MyFilter</filter-name>
<filter-class>aaa.MyFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>MyFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
I tried the following cases:
The case that the path is "/" works.
The case that the path is "/xxx" works.
The case that the path is "/xxx/" works.
The case that the path is "/xxx/yyy" does not work.
The same filter on SDK 1.3.2 works well.
Is there a workaround?
Thanks,
Yasuo Higa
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.