0

I'm new to web servers and would appreciate your help. I was given JSP files (and some other css and javascript files) and I'm trying to figure out a way to quickly get these JSP files up and running on the Apache Tomcat server just to view them. I got the Tomcat server running using Eclipse, but now I'm not sure how I can run the JSP files. Do I need a web.xml file? I've looked at some examples of web.xml but I am not sure what pieces are needed.

If there is anything that you can give me to lead me in the right direction, it would be extremely helpful. Thanks in advance!

4

1 回答 1

1

看看这里:http ://www.vogella.com/articles/EclipseWTP/article.html

简而言之:安装 WTP 扩展并创建一个新的动态 Web 项目。将项目设置为使用 Eclipse 管理的 Tomcat 运行。然后将您的 JSP 复制到项目中并通过 Eclipse 启动 Tomcat。也许您可以将现有项目转换为动态 Web 项目。

于 2012-12-03T16:09:35.523 回答