Open URL in default web browser - JavaServer Faces application
843802Mar 5 2008 — edited Mar 6 2008Hello,
I got a problem opening an URL in my web application. It's built using NetBeans and Visual Web Pack, and runs on a TomCat 5.5 server.
I've tried several methods for opening an URL in a new web browser window but havent succeded yet. (ex. Checking for os, and if windows, then using runtime; rt.exec( "rundll32.exe url.dll,FileProtocolHandler " + url);)
Are there anyone who knows a good way to open an URL in a client's default web browser from a server side web application?
Thanks in advance