This content has been marked as final. Show 4 replies
In which ever pages you are calling this page, extend controller of those pages and in PFR of that controller give the following code
String s4 = pageContext.getCurrentUrlForRedirect();
then in your second page you can call this session variable by
use this session value for page redirect.