myfaces-users mailing list archives

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

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.

Max

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
>


Mime
View raw message