Very basic question about running perl cgi on tomcat



I changed the web.xml file and the .jar suffix as required, and create
a new directory WEB-INF/cgi/ under webapps/ directory, I put my
first.pl into that directory, and try to visit it using
http://localhost:8080/cgi/first.pl but it doesn't work. I've also
tried /cgi-bin/first.pl and something else, always give me HTTP 404
file not found error. What should I do? Thank you.

Robert.
.