zzlw3c - 2011-05-31

I use tomcat cgi web.xml like:

    <servlet>
        <servlet-name>cgi</servlet-name>
        <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>6</param-value>
        </init-param>
        <init-param>
          <param-name>cgiPathPrefix</param-name>
          <param-value>WEB-INF/cgi</param-value>
        </init-param>
                <init-param>
                    <param-name>executable</param-name> 
                    <param-value>C:\Perl\bin\perl.exe</param-value> 
                </init-param>
         <load-on-startup>5</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>cgi</servlet-name>
        <url-pattern>/cgi-bin/*</url-pattern>
    </servlet-mapping>

when browser:http://localhost/awstats/cgi-
bin/awstats.pl?config=localhost,there
is nothing to show and no error log

but under commond :perl awstats.pl -config=localhost -output -staticlinks >
awstats.mysite.html ,it's ok

Can anyone help me how to do,and where am i wrong ???

Thanks very much!