Wicket will always do a redirect after the POST. So the information you are
seeing is from the second request, which is a GET.

You can install LiveHTTPHeaders in FireFox. There is something similar for
IE.

Regards,
    Erik.



Lowell Kirsh wrote:
> 
> I have a wicket form which is supposed to be POSTing its data. Looking
> at the generated page, it is indeed method="post". But the page that
> it redirects to thinks that it is a GET. I found this information by
> doing:
> 
> WebRequest request = (WebRequest) RequestCycle.get().getRequest();
> String method = request.getHttpServletRequest().getMethod();
> 
> In this case, method is "GET". I don't get why this is not "POST". So
> right now I'm not sure if it's mistakenly thinking it's a GET when it
> is indeed a POST, or if it's really a GET. Does anyone have any
> recommendation on how I can figure this out (eg. some tool not
> associated with wicket)?
> 
> Thanks,
> Lowell
> 


-- 
Erik van Oosten
http://2007.rubyenrails.nl/
http://www.day-to-day-stuff.blogspot.com/ 

-- 
View this message in context: 
http://www.nabble.com/POST-form-submissions-being-converted-to-GETs-tf3725515.html#a10426535
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to