Hi ! No, sorry, maybe i was not precise enough, when i have the /app/* mapping, i can access my "HomePage" directly, but all links from the HomePage as well as the style sheet link and some image links (all within wicket:link) don't work, as the "/app/" part is missing. The only images working are the one from the tree I use as menu.
Basically I don't need the /app/ subdirectory, but servlet filters in oc4j seem to be rather buggy, and they are not called, if you don't have either a page or a directory, just ip:port/context/?... does not work, as the filters are not called. So I tried to "trick" the filter (acegi) by adding a subdirectory... I guess I have to add some filterPath or filterMappingPath flag to the init-params of the servlet, but so far nothing worked. I'll dig into the sources deeper tomorrow. Thanks ! Tom -------- Original-Nachricht -------- > Datum: Thu, 19 Jun 2008 21:42:45 +0100 > Von: "Gwyn Evans" <[EMAIL PROTECTED]> > An: [email protected] > Betreff: Re: wicket servlet mapping to subdirectory > When you say "I always get redirected to the root of the webapp", do you > mean when first trying to access your app, you have to go via a redirect > or > some such that takes you to "http://www.mysite.com/" or similar? > > The 'traditional' trick was to have an index.html that redirected to > "app/" > as below - any uise? > > <html> > <head> > <meta http-equiv="Refresh" content="0; url=app"> > </head> > </html> > > /Gwyn > > On Thu, Jun 19, 2008 at 5:30 PM, Thomas Lutz <[EMAIL PROTECTED]> wrote: > > > Hi list ! > > > > I am forced to use the wicket servlet (1.3.3) instead of the filter > because > > of oc4j. > > > > I mapped the servlet to > > > > <servlet-mapping> > > <servlet-name>Wicket Webapp</servlet-name> > > <url-pattern>/app/*</url-pattern> > > </servlet-mapping> > > > > This does not work, I always get redirected to the root of the webapp, > and > > therefore none of my pages shows up. If I map to /*, everything works > fine, > > but then my acegi filters to not work... > > > > Is there any parameter I need to set to tell wicket about the different > > location ? Or, is it possible to configure some fake name in front of > the > > request strings "?" ? > > > > Thanks a lot, > > Tom > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
