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

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 ,
Alex Sotin

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>
I agree. Here's the link: http://aspose.com/file-tools
subject: When does JSF use or Post ?
Similar Threads
JSF phaseListener
What is the function of the listener com.sun.faces.config.configureListener?
navigation not working after validation fail
Capturing initial view instance in restore view phase
Disabling Back Button of the Browser