Hi, I use Stripes and DynamicMappingFilter on GAE production without issues.
Here's the Stripes related part of my web.xml: <filter> <display-name>Stripes Filter</display-name> <filter-name>StripesFilter</filter-name> <filter-class>net.sourceforge.stripes.controller.StripesFilter</ filter-class> <!-- have some Stripes init params here --> </filter> <filter> <filter-name>DynamicMappingFilter</filter-name> <filter- class>net.sourceforge.stripes.controller.DynamicMappingFilter</filter- class> </filter> <filter-mapping> <filter-name>DynamicMappingFilter</filter-name> <url-pattern>/*</url-pattern> <url-pattern>/_ah/mail/*</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> As you can see I don't use mapping for Stripes filter (setup long time ago, don't remember why). I hope this helps. Radomir On May 4, 6:45 pm, Pauli Savolainen <savolainen.pa...@gmail.com> wrote: > Hello > > I am developing a Stripes webapp with Google App Engine. I have run into a > problem trying to implement clean URLs using Stripes' UrlBinding annotation > and the DynamicMappingFilter. > > I have configured my action to answer to URL "/hoblaa" i.e. I have a > @UrlBinding('"/hoblaa") in my ActionBean. This result apparently in some > sort of a redirect loop. The address bar looks like this > /hoblaa/////////////////////;jsessionid=lr9opztbd98s and the page could not > be served. > > ActionBeans without the @UrlBinding work as expected. > > Also, what strikes me odd, is that in my development environment (running > the app locally on eclipse) the @UrlBinding works OK and /hoblaa does what > it is expected to. > > The DynamicMappingFilter document says that checks for 404 and then tries to > find appropriate ActionBean for the URL. Could it be that App Engine does > not like this sort of a method? > > My filter/servlet mappings in the web.xml are (ommitted the servlet and > filter declarations): > <servlet-mapping> > <servlet-name>DispatcherServlet</servlet-name> > <url-pattern>*.action</url-pattern> > </servlet-mapping> > <filter-mapping> > <filter-name>StripesFilter</filter-name> > <url-pattern>*.jsp</url-pattern> > <dispatcher>REQUEST</dispatcher> > <dispatcher>FORWARD</dispatcher> > </filter-mapping> > <filter-mapping> > <filter-name>StripesFilter</filter-name> > <servlet-name>DispatcherServlet</servlet-name> > <dispatcher>REQUEST</dispatcher> > <dispatcher>FORWARD</dispatcher> > </filter-mapping> > <filter-mapping> > <filter-name>DynamicMappingFilter</filter-name> > <url-pattern>/*</url-pattern> > <dispatcher>REQUEST</dispatcher> > <dispatcher>FORWARD</dispatcher> > <dispatcher>INCLUDE</dispatcher> > </filter-mapping> > > I would greatly appreciate some insight on this. Is it an App Engine > specific issue or have I configure something wrong? I don't think I have > misconfigured anything since all is fine in development environment, but who > knows. > > Thanks > Pauli Savolainen -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.