From: VANKEISBELCK R. <re...@rv...> - 2012-05-15 20:48:49
|
Hi Christian, Can't you just write an index.jsp file that forwards to your "main" action ? Cheers Remi 2012/5/15 Cristian C <ott...@gm...> > Grzegorz, > > Have you seen http://www.tuckey.org/urlrewrite/ > > It does pretty much what your filter does and much more. > My problem is that even with that, I Can't map "/" > If I add a "/" I get startup errors.. It seems that once the app is > initialized it tries to retrieve "/",.. I really don't understand why yet > but it causes a stack overflow. > > I can successfully map anything else to any stripes .action, but I can't > map to any Dynamic mappings though. I mapped index.html to category.action. > > I also figured the problem with the welcome-file thing. It's appending > the welcome file to all Dynamic Mappings/clean URL's.. so if I have > /category/1 with the welcome file I get /category/1 + whatever the welcome > file is. like /category/1index.html > > So I'm still totally out of ideas how to map "/" to an action mapped to > @UrlBinding.. > Only @UrlBinding("/") worked but it invokes the bean unwantedly.. I wonder > if this is a bug?.. > > > On Tue, May 15, 2012 at 4:01 PM, Grzegorz Krugły <gk...@ka...> wrote: > >> store > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Stripes-users mailing list > Str...@li... > https://lists.sourceforge.net/lists/listinfo/stripes-users > > |