【发布时间】:2012-09-14 15:49:43
【问题描述】:
我是 tomcat 的新手,想创建一个 java webapp。我已经下载并安装了 XAMPP Windows 1.8.0。有一个文件夹 C:\xampp\tomcat\webapps\examples,在其中我有一个文件 test.jsp,当我通过以下 URL 访问它时,它可以工作。
http://localhost/examples/test.jsp
我在 webapps 目录“C:\xampp\tomcat\webapps\myapplication”中创建了另一个文件夹,其中包含相同的文件 test.jsp,但是当我通过以下 URL 访问它时
http://localhost/myapplication/test.jsp
出现以下错误:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4
是否需要进行一些配置才能将新文件夹添加到 tomcat?
【问题讨论】:
-
您找到解决方案了吗?现在我在这个阶段
标签: apache jsp tomcat web-applications