W
wyh770406
Unregistered / Unconfirmed
GUEST, unregistred user!
问题是这样的:
我的环境是jdk1.4+tomcat4.0.1 我是直接将下载的jakarta-tomcat-4.0.1.exe安装
配置情况是将classpath指向servlet.jar所在目录
我的servlet源代码放在E:/Program Files/Apache Tomcat 4.0/webapps/examples/WEB-INF/classes
目录下,也就是servlet的类 (*.java和*.class文件)
*.java文件已成功编译通过,可是我在网页上看不到servlet的结果
出错信息是
Apache Tomcat/4.0.1 - HTTP Status 404 - /examples/servlet/HelloWorldExample1
--------------------------------------------------------------------------------
type Status report
message /examples/servlet/HelloWorldExample1
description The requested resource (/examples/servlet/HelloWorldExample1) is not available.
--------------------------------------------------------------------------------
谢谢
期待你的答案
as soon as you can,thanks
我的环境是jdk1.4+tomcat4.0.1 我是直接将下载的jakarta-tomcat-4.0.1.exe安装
配置情况是将classpath指向servlet.jar所在目录
我的servlet源代码放在E:/Program Files/Apache Tomcat 4.0/webapps/examples/WEB-INF/classes
目录下,也就是servlet的类 (*.java和*.class文件)
*.java文件已成功编译通过,可是我在网页上看不到servlet的结果
出错信息是
Apache Tomcat/4.0.1 - HTTP Status 404 - /examples/servlet/HelloWorldExample1
--------------------------------------------------------------------------------
type Status report
message /examples/servlet/HelloWorldExample1
description The requested resource (/examples/servlet/HelloWorldExample1) is not available.
--------------------------------------------------------------------------------
谢谢
期待你的答案
as soon as you can,thanks