Forum Stats

  • 3,827,118 Users
  • 2,260,741 Discussions
  • 7,897,176 Comments

Discussions

External links from OHJ

I have created some links to external websites and also a mailto: link in my project but they do not work within Oracle Help for Java. I have verified the links using a web browser. Is it possible to use these kinds of links in OHJ or do they have to be modified in some way.

Thanks

Dave Odell

Comments

  • 187538
    187538 Member Posts: 24
    I've successfully used external HREF links without any modification. (e.g. 'Oracle)
    The mailto: protocol won't work well because the browser component embedded in OHJ doesn't know about your default mail browser.

    Jeff
  • One additional thing to keep in mind when you are linking to
    external sites in Oracle Help for Java is whether or not you
    access the internet through a proxy server. If you access
    the internet through a proxy server (i.e. from behind a
    company firewall) you have probably set up the proxy server
    in your personal web browser.

    The Java Virtual Machine that you are running Oracle Help
    for Java on is no different, it needs to know if HTTP
    requests should go through a proxy server. You can specify
    a proxy server using the http.proxyHost and (optionally)
    http.proxyPort Java system properties. These can be
    set on the command line using the following syntax:

    java -Dhttp.proxyHost=yourProxy.yourCompany.com oracle.help.demo.ChoiceDemo D:\demodoc\myHelpset.hs

This discussion has been closed.