aspose file tools*
The moose likes JSF and the fly likes When does JSF use or Post ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "When does JSF use or Post ?" Watch "When does JSF use or Post ?" New topic
Author

When does JSF use or Post ?

Aravind Bhat
Ranch Hand

Joined: Jun 16, 2006
Posts: 32
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

Joined: Dec 19, 2006
Posts: 21
Hi, can you please put here your code ?


<a href="http://www.planet-java.org" target="_blank" rel="nofollow">Java Planet</a> <br />-- <a href="http://www.java-index.org" target="_blank" rel="nofollow">Java Index</a>
 
Don't get me started about those stupid light bulbs.
 
subject: When does JSF use or Post ?