Windows中的Tomcat Webapps目录 [英] Tomcat webapps directory in windows

查看:95
本文介绍了Windows中的Tomcat Webapps目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在正在使用eclipse开发一个简单的Web应用程序,并且正在将Tomcat用作Web服务器.我已经在Eclipse中配置了Tomcat,并且我的应用程序运行良好.

我的问题是: Tomcat在哪里存储Web应用程序,并且将类存储在哪个文件夹中??我想检查从JSP到Servlet的转换,并想验证转换后的文件的外观我试图找到Tomcat将Web应用程序确切存储在什么位置.我进入了提取Tomcat的webapps文件夹,但是我的webapp不在该文件夹中. 有人可以告诉在哪里可以找到转换后的JSP吗?

解决方案

右键单击Web项目,然后选择运行方式,然后选择运行配置...

Arguments 选项卡中,tomcat部署路径作为 VM参数提供,名称为-Dwtp.deploy

I am right now using eclipse to develop a simple web application and I am using Tomcat as web server. I have configured Tomcat in Eclipse and my application runs fine.

My question is: where does Tomcat store the web app and in which folder does it store the classes? I wanted to check the JSP to servlet conversion and wanted to verify how that converted file looks like and I am trying to find where exactly Tomcat stores the web app. I went into the webapps folder where Tomcat was extracted but my webapp is not in that folder. Can someone tell where I can find the converted JSPs?

解决方案

right-click on the web project and select Run As then Run Configurations...

From the Arguments tab, the tomcat deploy path is provided as a VM argument with the name -Dwtp.deploy

这篇关于Windows中的Tomcat Webapps目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆