We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环境: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: cgi org.apache.catalina.servlets.CGIServlet debug 0 cgiPathPrefix WEB-INF/cgi executable 5 1.2、修改了D:\apache-tomcat-7.0.91\conf\web.xml里关于cgi的servlet-mapping: cgi /cgi-bin/* 1.3、修改了D:\apache-tomcat-7.0.91\conf\context.xml里的context标签 1.4、把要调用的Project.exe放在了如下位置 D:\apache-tomcat-7.0.91\webapps\cgi-example\WEB-INF\cgi\Project.exe 1.5、启动tomcat后,访问 http://localhost:8080/cgi-example/cgi-bin/Project.exe 成功运行了Project.exe 2.1、我在eclipse对jeesite\src\main\webapp\WEB-INF\web.xml做了许多修改 2.2、我也写了一个跳转到exe的java方法 @RequiresPermissions("class:class:view") @RequestMapping(value = "jump") public String change(Class class) { return "WEB-INF/views/modules/cgi/Project1.exe"; } 3.1、第二节操作均未使我在jeesite1.2.7里成功跳转到exe处,请教一下具体的配置教程,谢谢。
The text was updated successfully, but these errors were encountered:
环境: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: <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> <init-param> <param-name>executable</param-name> <param-value></param-value> </init-param> <load-on-startup>5</load-on-startup> </servlet> 1.2、修改了D:\apache-tomcat-7.0.91\conf\web.xml里关于cgi的servlet-mapping: <servlet-mapping> <servlet-name>cgi</servlet-name> <url-pattern>/cgi-bin/*</url-pattern> </servlet-mapping> 1.3、修改了D:\apache-tomcat-7.0.91\conf\context.xml里的context标签 <Context privileged="true"> 1.4、把要调用的Project.exe放在了如下位置 D:\apache-tomcat-7.0.91\webapps\cgi-example\WEB-INF\cgi\Project.exe 1.5、启动tomcat后,访问 http://localhost:8080/cgi-example/cgi-bin/Project.exe 成功运行了Project.exe 2.1、我在eclipse对jeesite\src\main\webapp\WEB-INF\web.xml做了许多修改 2.2、我也写了一个跳转到exe的java方法 @RequiresPermissions("class:class:view") @RequestMapping(value = "jump") public String change(Class class) { return "WEB-INF/views/modules/cgi/Project1.exe"; } 3.1、第二节操作均未使我在jeesite1.2.7里成功跳转到exe处,请教一下具体的配置教程,谢谢。
Sorry, something went wrong.
新的java方法如下 @RequiresPermissions("class:class:view") @RequestMapping(value = "jump") public String change(Class class) { return "cgi-bin/Project1.exe"; } 还是没办法调用
No branches or pull requests
环境: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:
cgi
org.apache.catalina.servlets.CGIServlet
debug
0
cgiPathPrefix
WEB-INF/cgi
executable
5
1.2、修改了D:\apache-tomcat-7.0.91\conf\web.xml里关于cgi的servlet-mapping:
cgi
/cgi-bin/*
1.3、修改了D:\apache-tomcat-7.0.91\conf\context.xml里的context标签
1.4、把要调用的Project.exe放在了如下位置
D:\apache-tomcat-7.0.91\webapps\cgi-example\WEB-INF\cgi\Project.exe
1.5、启动tomcat后,访问
http://localhost:8080/cgi-example/cgi-bin/Project.exe
成功运行了Project.exe
2.1、我在eclipse对jeesite\src\main\webapp\WEB-INF\web.xml做了许多修改
2.2、我也写了一个跳转到exe的java方法
@RequiresPermissions("class:class:view")
@RequestMapping(value = "jump")
public String change(Class class) {
return "WEB-INF/views/modules/cgi/Project1.exe";
}
3.1、第二节操作均未使我在jeesite1.2.7里成功跳转到exe处,请教一下具体的配置教程,谢谢。
The text was updated successfully, but these errors were encountered: