Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When does JSF use or Post ?

 
Aravind Bhat
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Alex Sotin
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can you please put here your code ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic