问题描述
我在我的Windows机器上安装了Apache Tomcat,看起来它已成功安装。我可以看到属性窗口,我可以启动服务器,但我不知道下一步该做什么。
I installed Apache Tomcat on my Windows machine, and it seems like its installed successfuly. I can see the property window, and I can start the server but I don't know what to do next.
我在哪里保存jsp文件..我做创建一个目录或者apache tomcat是否创建了自己的目录?
Where do I save jsp files at.. do I create a directory or does apache tomcat create its own directories?
这是我唯一的问题..现在如何制作和编辑文件
that's my only problem.. how do i make and edit files now that its installed
推荐答案
文件夹结构:
Apache-home/webapps/project_name/WEB-INF/classes
所有jsp filse都应该在project_name文件夹下。和java类是clasess。
还需要放一个名为的特殊文件在WEB-INF文件夹中。
all jsp filse should come under project_name folder. and java classes comes under clasess.Also need to put a special file named web.xml in WEB-INF folder.
这篇关于在Windows上使用Apache tomcat运行jsp文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!