我也遇到了这个jsp不能显示出来,请问是什么原因?
是输入IE网址不对还是Apache对该文件common.jsp设置了访问权限?总之,无法
访问 http://IP/cgi-bin/common.jsp
问题详情如下:
<%@ page language="java" %>
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.sql.*,java.util.*,java.text.*" %>
<%@ include file="/cgi-bin/common.jsp" %>
<%
Connection con = null;
Statement stmt = null;
ResultSet rst = null;
...
%>
上述的这个JSP是某个网站服务器的index.jsp的原代码,
输入http://IP/index.jsp可以看到index.jsp的网页,而从这句话
<%@ include file="/cgi-bin/common.jsp" %>,照说我应该再输入
http://IP/cgi-bin/common.jsp可以看到common.jsp的页面,可是出现的是如下信息:
"The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@***.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
-------------------------------------------------------------------------------- Apache/1.3.20 Server at www.***.com Port 80
"应该用IE如何输入才能看到这个/cgi-bin/common.jsp文件呢?
这个cgi-bin/下的文件如何通过象输入http://IP/cgi-bin/filename.jsp显示在网页
中呢?
好像以前也有人碰到过,没有人回答吧?
访问 http://IP/cgi-bin/common.jsp
问题详情如下:
<%@ page language="java" %>
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.sql.*,java.util.*,java.text.*" %>
<%@ include file="/cgi-bin/common.jsp" %>
<%
Connection con = null;
Statement stmt = null;
ResultSet rst = null;
...
%>
上述的这个JSP是某个网站服务器的index.jsp的原代码,
输入http://IP/index.jsp可以看到index.jsp的网页,而从这句话
<%@ include file="/cgi-bin/common.jsp" %>,照说我应该再输入
http://IP/cgi-bin/common.jsp可以看到common.jsp的页面,可是出现的是如下信息:
"The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@***.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
-------------------------------------------------------------------------------- Apache/1.3.20 Server at www.***.com Port 80
"应该用IE如何输入才能看到这个/cgi-bin/common.jsp文件呢?
这个cgi-bin/下的文件如何通过象输入http://IP/cgi-bin/filename.jsp显示在网页
中呢?
好像以前也有人碰到过,没有人回答吧?
...全文
相关推荐
Spring-Data-Redis2.0+Spring5二
Spring5+Hibernate5整合Spring-Data-Redis使用Redis做查询缓存, http://download.csdn.net/download/u011189939/10131456升级版
Spring Boot项目利用Redis实现session管理实例
本篇文章主要介绍了Spring Boot项目利用Redis实现session管理实例,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
spring+springmvc+Interceptor+jwt+redis实现sso单点登录
在分布式环境中,如何支持PC、APP(ios、android)等多端的会话共享,这也是所有公司都需要的解决方案,用传统的session方式来解决,我想已经out了,我们是否可以找一个通用的方案,比如用传统cas来实现多系统之间的sso单点登录或使用oauth的第三方登录方案? 今天给大家简单讲解一下使用spring拦截器Interceptor机制、jwt认证方式、redis分布式缓存实现sso单点登录,闲话少说,直接把步骤记录下来分享给大家:分布式架构
Tomcat8+Redis Session同步需要的jar
Tomcat8 Redis 同步Session 中用到的jar 附带tomcat content.xml配置文件,
spring boot 案例
spring boot 案例


Web 开发
