the only quick solution i see is 2 wicket apps under different
filters/servlets




On Nov 11, 2007 5:43 PM, Tom Desmet <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> Thank you very much guys for your response.
> Al is correct. What I need is that ANY url is mapped under a specific
> sublevel, not just pages.
> I've tested with the hybrid URL's as you suggested Johan, and that is not
> a
> solution for me.
> Wicket actually does some redirects at the main level specified in the
> filter-mapping, which
> breaks the functionality that I need.
> If a user enters under a specific sub-level-url of the webapplication,
> this
> sub-level url should
> be used for all requests that this user does within the wicket
> application.
>
> The reason why I want this functionality is to accomplish multiple
> top-level
> url mappings within apache referring to one web application in jetty using
> mod_proxy_ajp. The reason why all requests should stay under the url
> subpath
> where they were initially invoked from, is that reverse proxy requests
> need
> to be rewritten so that they can be transformed to the actual sublevel
> from
> where they were invoked.
>
> http://webserver/nl should point to ajp://servletengine/mywicketapp/nl
> http://webserver/en should point to ajp://servletengine/mywicketapp/en
>
> when wicket returns a redirect response location, it returns
> //servletengine/mywicketapp (the sublevel gets lost). Therefore any
> reverse
> proxy translation cannot be achieved.
>
> Any suggestions are very much appreciated.
> Thanks for giving us this great wicket technology!
>
>
>
>
>
>
>
> Al Maw wrote:
> >
> > Johan Compagner wrote:
> >> I dont think that will work quite that way out of the box.
> >>
> >> because our normal statefull redirect page will go to
> >> /?wicket:interface=:0:xxxx
> >> And also form post will go to that kind of url (and then redirect)
> >
> > Actually, we rely on the servlet container to convert relative URL
> > redirects into absolute ones for us. It does this by looking at the
> > request URL, so I think this might work just fine.
> >
> > I'm assuming here that Tom is using web.xml to set up the NL/*, EN/*
> > etc. mappings.
> >
> > You're assuming the mappings are done using a single page entry-point,
> > which isn't what he means, I think.
> >
> > Regards,
> >
> > Al
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/multiple-url-mappings-for-the-wicket-web-application-tf4758413.html#a13693141
> Sent from the Wicket - User mailing list archive at 
> Nabble.com<http://nabble.com/>
> .
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to