PDA

View Full Version : getAppletContext().showDocument



vineeth v s
October 2nd, 2011, 04:24 PM
Hi,
i created japplet class, which is supposed to launch html page from local file s/m
so i signed jars and everything, but when i lauch my applet downloaded from
remote server, getAppletContext().showdocument(url) doesn't work if url is a
link to local file, like: '/home/vineeth/somdir/file.html'. when i set url to
'http://google.com', it works ok.

there is no exception or error code( showdocument returns void), and local
page doesn't load. when i lauch applet from local system, it works correct.

](*,)](*,)
pls help

Smart Viking
October 2nd, 2011, 07:12 PM
Try file///home/vineeth/somdir/file.html