Are you installing the chm file on every person's computer that will visit your site? Because that's what your code is assuming by using a file path as the URL.
Am I correct in assuming that this is not really your intention?
Thank you Bear and Michael for the quick response.
Michael, i set application/x-chm mime-type in the tomcat server's web.xml file but it does not have any effect. i also tried application/mshelp, application/x-msdownload, and application/chm .. but none works..
Bear, no, i dont want chm file to be exists on everyone's machine. In the link, < a hr e f ="help/help.chm">Help< / a> ; help.chm file is located on the server's help folder.
Try changing the content type to something like "application/pdf" to see if it's picking up the changes you're making to web.xml. If a PDF application opens and tries to open the .chm file, you'll know that Tomcat is picking up the web.xml changes.
Or maybe you're just not using the right content type.
Post by:autobot
money grubbing section goes here:
a bit of art, as a gift, that will fit in a stocking