相当于JSP的WAMP [英] WAMP equivalent for JSP

查看:80
本文介绍了相当于JSP的WAMP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在系统中安装了WAMP服务器,这使生活变得更加轻松:-).

I already have WAMP server installed in my system which makes life much easier :-).

那么谁能告诉我JSP的WAMP服务器等效什么?

So can anyone tell me what is the WAMP server equivalent for JSP?

推荐答案

WAMP基本上代表"Windows, Apache HTTP Server MySQL数据库服务器

WAMP basically stands for "Windows, Apache HTTP Server, MySQL DB Server and PHP". It's just a convenience software bundle for the lazy (pardon me ;) ) who doesn't want (or doesn't know how) to download/install/configure each separately.

等效的JSP/Servlet看起来像" Apache Tomcat服务器 servlet容器)内置于Tomcat中,而Apache HTTP Server默认情况下不支持PHP,因此无需替换"PHP"与"JSP". Windows在这里无关紧要,因为Java和MySQL都可以在几乎所有平台上运行,所以就不用说了.

The JSP/Servlet equivalent would look like "Apache Tomcat Server, MySQL DB Server". The JSP support is already builtin Tomcat as being a JSP/Servlet implementation (also known as servlet container), while Apache HTTP Server doesn't by default support PHP, hence there's no need to substitute "PHP" with "JSP". Windows is irrelevant here as both Java and MySQL can just run at almost all platforms, so it's left away.

对于JSP/Servlet,您不一定需要Apache HTTP Server,因为Apache Tomcat已经是成熟的Web服务器.但是,由于某些原因(如果我真的不推荐这样做),如果要在一个Web服务器上同时运行PHP和JSP,则需要添加

For JSP/Servlet you don't necessarily need the Apache HTTP Server as Apache Tomcat is already a full fledged webserver. But if you want to run both PHP and JSP at one webserver for some reasons (which I don't really recommend though), then you need to add Apache Tomcat Connector (also known as mod_jk) to Apache HTTP Server instance so that it can forward JSP/Servlet-specific requests to any Apache Tomcat Server which is installed at same machine.

如果您已经安装了WAMP,并且希望使用相同的MySQL DB Server,则无需单独下载/安装它.仅使用Tomcat就足够了,如果需要,还可以使用Apache HTTP Server的mod_jk.

If you already have WAMP installed and would like to make use of the same MySQL DB Server, then you don't need to download/install it separately. Just Tomcat would be enough and if necessary also the mod_jk for Apache HTTP Server.

要了解有关Tomcat和JSP/Servlet的更多信息,建议您阅读 Tomcat文档 Marty Hall的Coreservlets.com教程.后者还涵盖了Tomcat和Eclipse.

To learn more about Tomcat and JSP/Servlet, I can recommend to dive in the Tomcat documentation and the Marty Hall's Coreservlets.com tutorials respectively. The latter also covers Tomcat and Eclipse.

这篇关于相当于JSP的WAMP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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