How to open the url in a new tab of the Browser
918581Oct 15 2012 — edited Oct 15 2012Hi ,
Am using jdev 11.1.1.2.1
I have a commandLink in a jsff page and on click of that i want to open a new tab with the url given in the action listener.
I have the action listener code below:
FacesContext fctx = FacesContext.getCurrentInstance();
ExternalContext ectx = fctx.getExternalContext();
Url="/faces/Home.jspx";
ectx.redirect(Url);
For now it is redirecting in the same window and so wen i press the back button in the browser the session gets invalidated ,
so i want to open it in a new tab.
Please help.
Thanks,
Hari
Edited by: Hari on Oct 15, 2012 2:23 AM