Hello everybody,
I have a JSF application and when user click on button I want to open a web page.
Desktop.getDesktop().browse(uri);
probably opens a web page on server side,
how to do it on client side?
when i try Desktop.getDesktop().browse(uri); it works, but maybe its because I open the JSF application on localhost so I dont know if the opened uri is on server side or client side.
In the specification for getDesktop() its written:
getDesktop()
Returns the Desktop instance of the current browser context.
Thanks!