myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Starets <>
Subject Re: Distinguish if parameters are sent by POST or GET
Date Wed, 18 Mar 2015 14:18:57 GMT

Have you tried isPostback() on FacesContext? If you are not including 
view state as one of the parameters, it will return false for GET requests.


On 3/18/2015 9:19 AM, Georg F├╝chsle wrote:
> Hallo!
> Is it possible to see if a parameter read in my jsf-app was sent by post or
> by get?
> My webapp should be startet calling a starturl with some post parameters. I
> would like to forebid the use of get parameters. is it possible?
> thanks
> Gio

View raw message