The best place to find out why it happens is org.apache.wicket.request.handler.render.WebPageRenderer.respond(RequestCycle) Just don't be scared to follow the code inside :-)
On Wed, Nov 16, 2011 at 8:57 PM, Bertrand Guay-Paquet <[email protected]> wrote: > I don't know of any other specific causes unfortunately... > > Try setting a breakpoint in RequestCycle#onBeginRequest() and see what > happens. Try your page constructor too since it might be closer to the > source of the problem. > > Good luck! > Bertrand > > On 16/11/2011 12:21 PM, thomas willomitzer wrote: >> >> Hi, >> >> Thanks I checked but no getPageParameters() override ;) >> >> Regards >> Thomas >> >> On Wed, Nov 16, 2011 at 6:04 PM, Bertrand Guay-Paquet< >> [email protected]> wrote: >> >>> Hi, >>> >>> I had a redirect loop once because I added an override to >>> Page#getPageParameters() by mistake. I wanted to use my method to >>> generate >>> a new PageParameters instance for a page but overriding the Page method >>> gave your result. >>> >>> It's worth a shot! >>> >>> Regards, >>> Bertrand >>> >>> >>> On 16/11/2011 11:40 AM, thomas willomitzer wrote: >>> >>>> Dear All, >>>> >>>> I've managed to get the jsessionid appended correctly when requesting a >>>> page without cookies enabled (wicket 1.5.3, tomcat 7.0.22). >>>> >>>> I get >>>> curl -v --insecure https://localhost/ -> Location: >>>> https://localhost/?1 >>>> curl -v --insecure https://localhost/?1 -> Location: >>>> >>>> https://localhost/.;**jsessionid=**D62D2D693854214C847E7A75439909**A3<https://localhost/.;jsessionid=D62D2D693854214C847E7A75439909A3> >>>> curl -v --insecure >>>> >>>> https://localhost/.;**jsessionid=**D62D2D693854214C847E7A75439909**A3<https://localhost/.;jsessionid=D62D2D693854214C847E7A75439909A3>-> >>>> HTTP 404 >>>> >>>> change URL (erasing ".") to >>>> curl -v --insecure >>>> >>>> https://localhost/;jsessionid=**D62D2D693854214C847E7A75439909**A3<https://localhost/;jsessionid=D62D2D693854214C847E7A75439909A3>-> >>>> Location: >>>> https://localhost/?1 >>>> >>>> When trying in a browser I get the warning that it's a redirect loop. >>>> >>>> Can somebody please point me to what I'm doing wrong here? >>>> >>>> Many Thanks >>>> Thomas >>>> >>>> >>> ------------------------------**------------------------------**--------- >>> To unsubscribe, e-mail: >>> users-unsubscribe@wicket.**apache.org<[email protected]> >>> For additional commands, e-mail: [email protected] >>> >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
