TOMCAT配置问题:我现在开发了一个CGI程序,.EXE形式,我在页面表单的
ACTION里指定是调用这个CGI程序。服务器为TOMCAT,在运行状态下点击表单提交
时弹出一个下载的页面,提示要我下载我的CGI程序,而没有执行该程序。(应该
输出一个页面)。我记得在IIS中就可以指定直接执行CGI程序,请问在TOMCAT中有没有这样的配置?
应该如何配置?
ACTION里指定是调用这个CGI程序。服务器为TOMCAT,在运行状态下点击表单提交
时弹出一个下载的页面,提示要我下载我的CGI程序,而没有执行该程序。(应该
输出一个页面)。我记得在IIS中就可以指定直接执行CGI程序,请问在TOMCAT中有没有这样的配置?
应该如何配置?
解决方案 »
- 在基于对话框MFC中Picture控件上精确定位并画直线……
- OnNewWindow2 关闭所有子窗口
- 我实在想不通这个有关CArray的问题,难道是VC6的Bug吗
- 请问各位大哥大姐,怎么打印listcontrol控件中得内容?
- 关于读取autocad中dxf格式(二维)在线等待
- 如何用程序对SQL数据库的数据进行备份(200分)?
- 超级郁闷的问题 烦了我几天呢! 关于系统托盘的气泡提示! 是这个CTrayIcon类
- 各位大哥,请问怎样做快捷键啊
- 如何判断鼠标进入Button区域,和离开Button区域?
- 为何从串口中读不出数据,明明写入成功了?
- 如何提取资源类例如GIF图片的句柄并对其操作?
- 【【【只有10分了,问一下在按Ctrl+W时,出现这样的错误:parsing error:Identifier expected.】】】
你把注释掉的这段打开<!-- Common Gateway Includes (CGI) processing servlet, which supports -->
<!-- execution of external applications that conform to the CGI spec -->
<!-- requirements. Typically, this servlet is mapped to the URL pattern -->
<!-- "/cgi-bin/*", which means that any CGI applications that are -->
<!-- executed must be present within the web application. This servlet -->
<!-- supports the following initialization parameters (default values -->
<!-- are in square brackets): -->
<!-- -->
<!-- cgiPathPrefix The CGI search path will start at -->
<!-- webAppRootDir + File.separator + this prefix. -->
<!-- [WEB-INF/cgi] -->
<!-- -->
<!-- clientInputTimeout The time (in milliseconds) to wait for input -->
<!-- from the browser before assuming that there -->
<!-- is none. [100] -->
<!-- -->
<!-- debug Debugging detail level for messages logged -->
<!-- by this servlet. [0] -->
<!-- -->
<!-- IMPORTANT: To use the CGI servlet, you also need to rename the -->
<!-- $CATALINA_HOME/server/lib/servlets-cgi.renametojar file -->
<!-- to $CATALINA_HOME/server/lib/servlets-cgi.jar --><!--
<servlet>
<servlet-name>cgi</servlet-name>
<servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
<init-param>
<param-name>clientInputTimeout</param-name>
<param-value>100</param-value>
</init-param>
<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>
<load-on-startup>5</load-on-startup>
</servlet>
-->