apache friends xampp tomcat-如何将新目录添加到webapps文件夹

apache friends xampp tomcat-如何将新目录添加到webapps文件夹,apache,jsp,tomcat,web-applications,Apache,Jsp,Tomcat,Web Applications,我是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,但当我通过以下U

我是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吗?

我也遇到了同样的问题,最后找到了问题的原因

我以前运行过Xampp Apache和tomcat。在那之后,我停止了服务,我也这么认为,但有些事情并不好

但它产生了影响。这就是它无法加载这些文件的原因

我刚刚重新启动了系统。我可以看到tomcat管理器页面,一切正常。这很简单


重新启动!只启动tomcat服务

我也遇到了同样的问题,最终找到了它发生的原因

我以前运行过Xampp Apache和tomcat。在那之后,我停止了服务,我也这么认为,但有些事情并不好

但它产生了影响。这就是它无法加载这些文件的原因

我刚刚重新启动了系统。我可以看到tomcat管理器页面,一切正常。这很简单


重新启动!并且只启动tomcat服务

localhost是apache web服务器的主机,您需要输入以下类型的地址:-

localhost:8080/examples/test.jsp
Apache运行于
而Tomcat运行在

localhost是apache web服务器的主机,您需要输入以下类型的地址:-

localhost:8080/examples/test.jsp
Apache运行于
Tomcat在

中运行,您找到解决方案了吗?现在我处于这个阶段,你找到解决办法了吗?现在我在这个阶段