- when loading the page from the browser, the URL is returned
including the page parameters;
Yes, that would be a GET-method request.
- when updating through AJAX, the URL is returned without the
page parameters.
AAJAX requests are often POST-method. In POST requests the parameters
are
Hi,
When calling
(WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getRequestURL()
on a page with page parameters, I'm seeing different results:
- when loading the page from the browser, the URL is returned
including the page parameters;
- when updating through AJAX, the URL
by the way, this is the case for url coding strategies
which use /par/ such as the default
BookmarkablePageRequestTargetUrlCodingStrategy
IMHO these parameters should be stripped but perhaps not in the
getRequest method; any method available which does just this?
On Wed, Jul 30, 2008 at 11:52