Desktop.getDesktop().browse(uri); will open web page on server or client side?
Posted
by Milan
on Stack Overflow
See other posts from Stack Overflow
or by Milan
Published on 2010-05-26T08:14:00Z
Indexed on
2010/05/26
9:11 UTC
Read the original article
Hit count: 446
jsf
|client-server
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!
© Stack Overflow or respective owner