Forums Register Login

When does JSF use or Post ?

+Pie Number of slices to send: Send
I'm confused as to under what circumstances JSF uses get and when it uses POST . Under PRG , It's quite evident that JSF uses POST but when I try request.getMethod() in my phaseListener , It returns me GET . Is there any way I can force it to submit through POST ?

I got a reply from the forum that outputLink uses GET if it is a non phases request . But I guess a PhaseListener is inside the Phases lifecycle .

So what's the conclusion ? Kindly help with examples .

Regards ,
Aravind
+Pie Number of slices to send: Send
Hi, can you please put here your code ?
Time is mother nature's way of keeping everything from happening at once. And this is a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1082 times.
Similar Threads
JSF phaseListener
Capturing initial view instance in restore view phase
What is the function of the listener com.sun.faces.config.configureListener?
navigation not working after validation fail
Disabling Back Button of the Browser
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:34:44.