aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes online help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "online help" Watch "online help" New topic
Author

online help

ravi janap
Ranch Hand

Joined: Nov 04, 2000
Posts: 389
Hi
I am trying to develop an online help as a menu item. However, I am getting IOException while trying to invoke the html document. Can you help me identify the problem.
The code is:

I am getting the following output in console:
pageUrl file;C:\submission\docs\userdocs\index.html
IOException while loading page no protocol: file;C:\submission\docs\userdocs\ind
ex.html
Thanks
Ravi


SCJP, SCJD, SCWCD, SCBCD, SCEA
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
You're going about this in entirely the wrong way. Package your online help in the jar, obtain its URL using Class.getResource() or ClassLoader.getResource(), and stick that in your editor.
- Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: online help