Hi, Yes that worked, I added this in the index.jsp <jsp:include page="/category"/> And I already had dispatcher INCLUDE defined in web.xml for the filter.
I hope going through the JSP doesn't add much overhead. thanks! VANKEISBELCK Remi-2 wrote: > > Hi Christian, > > Can't you just write an index.jsp file that forwards to your "main" action > ? > > Cheers > > Remi > > 2012/5/15 Cristian C <ottersl...@gmail.com> > >> 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 <g...@karko.net> 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 >> Stripes-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/stripes-users >> >> > > ------------------------------------------------------------------------------ > 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 > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users > > -- View this message in context: http://old.nabble.com/Mapping-Root-of-Web-App-to-an-Action-using-Dynamic-Mappings-tp33850648p33855480.html Sent from the stripes-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ 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 Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users