← 输入框|github.com|刷新
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

Open

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.

Activity

  1. glassfishrobot commented on Nov 2, 2012

    @glassfishrobot
    ContributorAuthor

    Reported by hme

  2. glassfishrobot commented on Nov 2, 2012

    @glassfishrobot
    ContributorAuthor

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

  3. glassfishrobot commented on Apr 26, 2017

    @glassfishrobot
    ContributorAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions