|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | JAVA redirect ? Mark Gilmore Sat, 25 Mar 2000 10:55:05 -0500 |
Can anyone tell how how to REDIRECT from JAVA ?
The following code (my attempt at it) gives this error:
netscape.security.AppletSecurityException: security.Couldn't connect to
'www.yahoo.com' with origin from ''.
URL url;
URLConnection urlc;
try {url = new URL("http://www.yahoo.com/");}
catch (MalformedURLException e) {System.out.println("Itm_stt:start:URL
MUE"); return;}
try {urlc = url.openConnection();}
catch (IOException e) {System.out.println("Itm_stt:start:openConnection
IOE"); return;}
try {urlc.connect();}
catch (IOException e) {System.out.println("Itm_stt:start:connect IOE");
return;}
Thanks,
--
Mark Gilmore
Omnipotence (ECS home automation software)
http://www.usit.com/omnip
423-745-0026
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects