Skip to main content

Launching JavaHelp from a Web page

2 replies [Last post]
Anonymous

Hello,

We are considering moving our help system to the JavaHelp format. One of
our motivations for doing so is that our existing Help takes a very long
time to load when accessed over the Internet. So before I commit too much
to JavaHelp, I wanted to run a little test to ensure that it will provide
acceptable results in terms of loading time/speed.

As part of the test, I?ve created a Web page that attempts to launch the
JavaHelp JAR file I?ve created. This file has been placed on a WebServer
(as have ). However, I haven?t been able to launch the help file. Ideally,
the JavaHelp file would launch in the JavaHelp viewer. I have seen this
work on another web site:
http://www.knopf.com/resources/help/samples/javahelp/index.html

I?m not sure what I need to do to make this work ? I?m not even this can
be accomplished with JavaHelp 2.0. I, along with our developers, have also
been playing around the ?Browser demo? installed with JavaHelp, but
haven?t gotten too far with getting that, or something similar, to work

In a more general sense, I think my question is how is launching JavaHelp
through a Web page or over the Internet different than launching it
locally? To launch locally, I?ve only required the Help file Jar that I?ve
created, and the hsviewer.jar, jh.jar, and run.jar files to be in the same
folder.

And are there any specific considerations I need to keep in mind if
creating JavaHelp that will be launched over the Internet/through a Web
page?

Any help would be appreciated.

Thanks,
Leo

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Leo Paoletti

Hello,
It looks like we figured out the problem with some help from our
developers. Here's what we needed to do:
1. Not have a space in the Help file Jar's name. This was causing a
problem.
2. Have the Jar file signed (with a security certificate). Apparently we
were running into a problem because we are running newer versions of Java.

Note: in my original email I indicated we needed the following files--
hsviewer.jar, jh.jar, and run.jar
It looks like we only need the jh.jar file.

I hope this information helps.

thanks,
Leo

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

javafundoo
Offline
Joined: 2006-11-02

Hello Leo,
I am facing some problems with Launching JavaHelp from a Webpage.
My questions are,
How do you get URL of a HelpSet using "[i]HelpSet.findHelpSet(classLoader, url)[/i]" method in a JSP.
Also tell me to keep the Help system's jar and
How to get Class loader in JavaHelp launching JSP.

thanks.

Message was edited by: javafundoo