Freddy Daoud pisze: > Hi Grzegorz, > > >> I've had many problems with binding to / and in the end just wrote my >> own filter which rewrites some URLs (eg. / to /home). >> > > I'm curious, what were the many problems that you encountered?
Well... First of all, setting appropriate context root in web app didn't work because when it is packed in an EAR file, application.xml has to be used. But having / there doesn't work, neither ROOT, etc. So I found out that there's a conception of default web app in Glassfish settings. Then I had to dig up the information about filter mappings (that /* thing). Then it turned out that Glassfish is buggy and it's context root is // instead of / I needed a URL mapping solution anyways, so I decided to write my own filter. Every other mapping than / works fine, but / is way easier in PHP than in JEE for me ;-) Best regards, Grzegorz ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
