CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Java

 HTML from Applet

Print topic Send  topic

Author Message
veerendra

Posts: 4
Posted: 09/07/2007, 9:48 PM

How can we call HTML page from applet.
My requirement is when a button or a menu option in an applet is clicked, a HTML page should be opened.
View profile  Send private message
10mas

Posts: 3
Posted: 09/11/2007, 6:25 AM

Very easy

String cmd = null;
try {
url="www.google.es";
cmd = "rundll32" + " " + "url.dll,FileProtocolHandler" + " " + url;
Process p = Runtime.getRuntime().exec(cmd);

}
catch(java.io.IOException x) {
// couldn't exec browser
System.err.println("Error launching browser, command=" + cmd);
System.err.println("ERROR:: " + x);
}
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.