On 10-09-2009 at 21:47, Grzegorz Krugły wrote: > Newman, John W pisze: > > We have this working in jboss using the DynamicMappingFilter. See > > http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/controller/DynamicMappingFilter.html > > > > I'm already using DynamicMappingFilter. My web.xml is virtually the same > as You've mentioned. > > If I bind to /home and go to http://mydomain.tld/home - it works. If I > bind to / and go to http://mydomain.tld/ - all I get is a directory > listing from Glassfish. > > Should following action just work at / URL? Could it be the problem with > Glassfish or maybe I should put something to application.xml (I deploy > inside an EAR)? I already deploy my webapp to /
It should. At least, I have it working that way.
There is one thing to take into account though: when you bind an ActionBean
to "/", any non-existing url/binding will be redirected there as well. You
can get the non-existing part of the URL by binding the ActionBean to
e.g. "/{text}" instead though.
Also see http://www.stripesframework.org/jira/browse/STS-688
Oscar
--
,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/
/() )
(__ ( Progress is made by lazy men looking for easier ways to do things.
=/ () -- Robert Heinlein
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
