Hi all I am having a minor problem with RequestCycle.setRequestTarget() in Wicket 1.4. Before I do a workaround I have to check if I have simply missed out on something.
Assume my application is found at http://mydomain.com/mywebapp I expected getRequestCycle().setRequestTarget( new RedirectRequestTarget("/anotherwebapp/page")); to redirect to http://mydomain.com/anotherwebapp/page considering the initial / but it doesn't, redirecting instead to http://mydomain.com/mywebapp/anotherwebapp/page Am I doing anything wrong? Is this so by intention? getRequestCycle().setRequestTarget( new RedirectRequestTarget( "http://mydomain.com/anotherwebapp/page")); I assume I can find http://mydomain.com from the HttpServletRequest as a workaround. -- mogul | [email protected] hudiksvallsgatan 4, 113 30 stockholm sweden +46 8 506 66 100 | +46 709 78 28 37 skype:nils.weinander www.mogul.com Part of the Addnode Group --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
