Hello ! I am trying to use Wicket for a generic Management application for seleveral webapps. Effective this works like this:
Application a gets called with the url http://myhost/appcontext/admin/ then I do an internal forward to the management app with a RequestDispatcher. To get this to work, I made my admin Webapp with a filterMappingUrlPattern of /admin/* so I dont have to rewrite the request paths. So far it works perfect: if I call : http://myhost/appcontext/admin/ I get the correct page from the adminapp and if I call http://myhost/admincontext/admin/ I get the correct page, too. The links in the /admincontext/admin/ work fine, but in the /appcontext/admin/ case all links point at /appcontext/ and not /appcontext/admin/ as expected. This is, because the ServletWebRequest.getRelativePathPrefixToWicketHandler reads out the request Attribute: "javax.servlet.forward.servlet_path" and thinks its an internally forwarded Error page (I think) and then calculates the wrong relative path. Anyone any Idea how to work around that ? Thanks Peter -- View this message in context: http://www.nabble.com/Cross-Context-forwarding-and-Wicket.-tf4623060.html#a13202618 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
