一个非常奇怪的问题。

shitalone 2003-04-02 11:43:58
我用的resin。
原来doc下有个test.jsp文件,通过http://localhost:8080/test.jsp访问,发现结果正常,好好的。
可是当我把文件的内容改了之后,却提示
404 Not Found
/test.jsp was not found on this server.
--------------------------------------------------------------------------------
Resin 2.1.8 (built Thu Mar 6 11:50:23 PST 2003)

好象是说页面找不到,可我看了明明就在。
代码有问题吗?如下:

<%@ page contentType="text/html; charset=" language="java" import="java.sql.*" errorPage="" %>
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
<TITLE>图表演示程序</TITLE>
</HEAD>

<BODY>
<jsp:useBean id="ChartGraphics" class="untitled.ChartGraphics" scope="request">
</jsp:useBean>
<jsp:useBean id="GetData" class="untitled.GetData" scope="request">
</jsp:useBean>

<%!
int height[]=new int[5];
%>

<%
height=gd.getHightArray();
cg.graphicsGeneration(height[0],height[1],height[2],height[3],height[4]);
%>

</body>
</html>
...全文
37 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
hanty 2003-04-02
  • 打赏
  • 举报
回复
服务器重新启动
服务器培植有问题
shitalone 2003-04-02
  • 打赏
  • 举报
回复
resin有问题?
moumouren 2003-04-02
  • 打赏
  • 举报
回复
跟代码没关系
shitalone 2003-04-02
  • 打赏
  • 举报
回复
更奇怪的是装了tomcat,试出的结果居然也一样。
shitalone 2003-04-02
  • 打赏
  • 举报
回复
重启了resin好几次,可是问题依旧

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧