Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Open URL in default web browser - JavaServer Faces application

843802Mar 5 2008 — edited Mar 6 2008
Hello,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 3 2008
Added on Mar 5 2008
1 comment
227 views