Tests to show that CGI scripts do work with Glassfish War file - hello.war web.xml - Added the servlet info to enable CGI scripts tests - hello.cgi, dateformats.cgi, envn.cgi Steps to run the tests - 1. Deploy from admin console or copy hello.war in the autodeploy dir (...\glassfish\domains\domain1\autodeploy) 2. On successful deployment, should see hello.war_deployed file generated in the autodeploy dir 3. To run the tests - http://localhost:8080/hello/cgi-bin/helloworld.cgi http://localhost:8080/hello/cgi-bin/evng.cgi http://localhost:8080/hello/cgi-bin/dateformats.cgi