Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

URL with get parameters  RSS feed

 
nikos karanikos
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello i would like from my bean to redirect after an operation is completed to the page faces/test.xhtml?id=2? Is there a way to do this?
Thank you
 
nikos karanikos
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
FacesContext.getCurrentInstance().getExternalContext().redirect(thefullpathurl);
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!