If you are gettting the 404 error in the JSP scripts and you are sure that the file exist there then please do the following:

1. Restart the Tomcat server using the following commands:

/usr/bin/dtomcat4.vwh restart

2. If still you are facing a problem then:

pico /var/tomcat4/conf/sites.policies.d/siteXX.policy

and in that check if there is a ” * ” after the html as follows:

grant codeBase “file:/home/virtual/site8/fst/var/www/html/*” {
permission java.net.SocketPermission “*”, “connect”;
sinclude(`/var/tomcat4/conf/sites.policies.d/site8.policy.custom’)

};

3. If still the problem exists then please check if the following entry is there in /var/tomcat4/conf/server.xml: