Run chm help file

Hi,

I would like to run chm file from an applet in the browser.

I tried some ways without any success.

1) Runtime.getRuntime().exec("hh.exe help.chm");

I get access in denied because the applet can't access to files at

the local machine.

2) use showDocument method to show jsp page.

in the jsp I wrote in javascript

window.open('mk:@MSITStore:http://localhost:8080/web-app/help.chm::/page1.htm');

I get "page cannot be displayed"

I will appreciate any help.

Thanks,

Anat

[552 byte] By [anatw@hotmail.coma] at [2007-10-3 3:42:14]
# 1

The client has to have the chm file on the local disk (could not make it

work serving through http protocol)

For example the php manual named php_manual_en.chm is located in

C:\xampp\php\

Than the url will be:

mk:@MSITStore:C:\xampp\php\php_manual_en.chm::/en/function.print.html

for the function print.

harmmeijera at 2007-7-14 21:38:08 > top of Java-index,Desktop,Core GUI APIs...
# 2

Thanks for your reply.

I succeeded to load the html page from the browser when I write at the url address "mk:@MSITStore:/help.chm::/page1.htm"

but now I have a problem in jsp to load this page.

The html page is not loaded, it is written at the bottom

"Done, but with errors on page"

I also would like to show the html page at the same page of jsp,

not in a new browser window.

Help.jsp code:

<%@ page contentType="text/html; charset=windows-1255" %>

<html>

<head>

</head>

<body bgcolor="#ffffff">

<SCRIPT LANGUAGE="JavaScript" type="">

//showHelp("mk:@MSITStore:/help.chm::/page1.htm")

window.open('mk:@MSITStore:/help.chm::/page1.htm");

</SCRIPT>

</body>

</html>

I will appreciate any help.

Thanks,

Anat

anatw@hotmail.coma at 2007-7-14 21:38:08 > top of Java-index,Desktop,Core GUI APIs...