我也遇到了这个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显示在网页
中呢?
好像以前也有人碰到过,没有人回答吧?