Open Fun-HC opened 6 years ago
`环境:maven3.3.9、tomcat7.0.91、java7-u80、eclipse-j2ee-mars1 1、我在apache-tomcat-7.0.91里为了开启cgi做了如下配置: 1.1、修改了D:\apache-tomcat-7.0.91\conf\web.xml里关于cgi的servlet:
1.2、修改了D:\apache-tomcat-7.0.91\conf\web.xml里关于cgi的servlet-mapping:
1.3、修改了D:\apache-tomcat-7.0.91\conf\context.xml里的context标签
新的java方法如下 @RequiresPermissions("class:class:view") @RequestMapping(value = "jump") public String change(Class class) { return "cgi-bin/Project1.exe"; } 还是没办法调用
环境:maven3.3.9、tomcat7.0.91、java7-u80、eclipse-j2ee-mars1 1、我在apache-tomcat-7.0.91里为了开启cgi做了如下配置: 1.1、修改了D:\apache-tomcat-7.0.91\conf\web.xml里关于cgi的servlet:
1.2、修改了D:\apache-tomcat-7.0.91\conf\web.xml里关于cgi的servlet-mapping:
1.3、修改了D:\apache-tomcat-7.0.91\conf\context.xml里的context标签