• Post Reply Bookmark Topic Watch Topic
  • New Topic

Redirect with post instead of get

 
evan k. stone
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...is it possible to redirect via a POST instead of a GET?

Right now, I'm using setViewRoot to redirect:



...and it seems to redirect via GET, but I was wondering if it was possible to do a POST, and if so, how is that accomplished?

Thanks!
 
Hung Tang
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try FacesContext.getCurrentInstance().getExternalContext().redirect() ?
 
evan k. stone
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no. but i'll take a look at it.

thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!