Hi Declared in webapps/ PERL_TOOLS_SITE / WEB-INF/web.xml
for CGI Perl execution as given below, <servlet> <servlet-name>cgi</servlet-name> <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>cgiPathPrefix</param-name> <param-value>WEB-INF/cgi</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> <!-- The mapping for the CGI Gateway servlet --> <servlet-mapping> <servlet-name>cgi</servlet-name> <url-pattern>/cgi-bin/*</url-pattern> </servlet-mapping> </web-app> http://localhost:8080/PERL_TOOLS_SITE/cgi/hello.cgi Unsuccessful : HTTP Status 404 - /PERL_TOOLS_SITE/cgi/hello.cgi http://localhost:8080/PERL_TOOLS_SITE/cgi-bin/hello.cgi Successful : How ? Although the "<servlet-name>cgi</servlet-name>" is mapped in web.xml Thanks & Regards karthik