Skip to content
This repository was archived by the owner on Jan 30, 2019. It is now read-only.
This repository was archived by the owner on Jan 30, 2019. It is now read-only.

Read JavaHelp resources not over http(s) #40

@glassfishrobot

Description

@glassfishrobot

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions