views:

251

answers:

0

I created a symbolic link to a .htm file.

ln -sf /u105/app/ptelrep/reports/kfx/generated/KFX026_Wholesale_1.htm /u105/app/ptelrep/reports/kfx/generated/KFX026_Wholesale.htm

The link works. I have the configuration file, reports.xml: /u355/app/ptelrep/tomcat50-jwsdp/conf/Catalina/localhost/reports.xml

<?xml version='1.0' encoding='utf-8'?>
<Context docBase="/u105/app/ptelrep/reports" path="/reports" allowLinking="true">
</Context>

I have a JSP file which has link points to the symbolic link:

<a href="generated/KFX026_Wholesale.htm"
    onMouseOver="toggleDiv('div1',1)"
    onMouseOut="toggleDiv('div1',0)">Detail Usage</a>

I restarted the tomcat but the symlink is not working. When I change the symlink to a point to the original file, it works.

Can anyone know what the problem is?