Re: [appengine-java] A catch-all servlet?

2010-04-07 Thread John Patterson
You could create a filter that is mapped to /* and does a forward to your jsp. This one remembers the original path: public class ForwardFilter implements Filter { public static final String SERVLET_PATH = ForwardFilter.class.getName() + .servletPath; private String target;

[appengine-java] A catch-all servlet?

2010-04-06 Thread Mark
Hi, I'm using GWT and GAE. I want to serve my project's one and only jsp file no matter what url is entered by the user in their browser. So the web.xml file looks like this: welcome-file-list welcome-fileUserMaps.jsp/welcome-file /welcome-file-list servlet