I have created online help file for my application using winCHM. So basicallt its a .CHM file.
I have one hyperlink on my jsp page, namely "Help". Now I want to open the CHM file directly after clicking on the help link directly. Now when I click on the Help link on my jsp, it forces the user to download the CHM file first on local system( and that is the problem, I want to open it directly from remote location after clicking on the help link).
Like any file type that requires and external application to open, (PDF, Excel, etc..) your users will need to have the required application installed and will need to have the association set up in their browser.
If it isn't there already, you'll need to add the mime type mapping to either your web.xml file and/or to the global list of mime types in your container.
If all that is done, you can suggest that the browser open the application from within the browser by setting the Content-Disposition header with the 'inline' attribute.
Is CHM a proprietary Microsoft Format? If so, you might be shutting out users of other platforms (Mac, Linux, etc).