javaee / javahelp

javahelp
Other
14 stars 15 forks source link

Read JavaHelp resources not over http(s) #40

Open glassfishrobot opened 11 years ago

glassfishrobot commented 11 years ago

When using JavaHelp for a web help page it fetches the the *.hs file over http or https. When using https without the certificate being in the Java trust store we get an error message from the server, not the web browser, that the ssl certificate is not trusted and the help page is not show.

The attached patch makes it possible for JavaHelp to fetch the *.hs file for internal usage from the filesystem and not via http(s). With this patch we do not have any problems using JavaHelp on a https side where the ssl certificate is not in the Java trust store of the server.

With this patch you can also specify helpSetNameLocal:

<jh:validate helpBroker="<%= helpBroker %>" helpSetName='<%= request.getContextPath()"/helpset/WebAdmin"+language".hs" %>' helpSetNameLocal='<%= "/helpset/WebAdmin"language".hs" %>' />

This patch is based on current version r89 from https://svn.java.net/svn/javahelp~svn/trunk .

bremen online services GmbH & Co. KG would like to see this patch in an official version of JavaHelp.

glassfishrobot commented 11 years ago

Reported by hme

glassfishrobot commented 11 years ago

File: javahelp-load-config.patch Attached By: hme

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAVAHELP-40