Wednesday 18 January 2012

JSF: How to get the current web page address

String currentPage = FacesContext.getCurrentInstance().getViewRoot().getViewId();

No comments:

Post a Comment