wamp服务器:如何部署jsp应用程序 [英] wamp server :How to deploy jsp application

查看:95
本文介绍了wamp服务器:如何部署jsp应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始使用WAMP服务器.我无法在其上部署我的Java应用程序. 仅运行HTML页面.请帮助目录结构以及在何处保存jsp,java,.class,war,xml文件.当我单击jsp的链接时,html页面上会显示JSP代码.

I am newly started using WAMP server. I am unable to deploy my java application on it. only Html pages run. Please help with directory structure and where to keep jsp, java, .class ,war,xml files. JSP code is shown on html page when i click link for jsp.

推荐答案

WAMP服务器主要用于Windows上的PHP/MySQL开发,并且不支持现成的Java/JSP.(AFAIK)虽然有可能使用相同的WAMP安装将其配置为支持JSP,您仍将需要一个Servlet容器来解释Java/JSP源文件.由于您不熟悉WAMP,因此安装另一个Servlet容器(例如下面提供的Tomcat)会更合乎逻辑,以减少启动和运行所需的时间.

WAMP Server is primarily meant for PHP/MySQL Development on Windows and does not support Java/JSP out of the box.(AFAIK) While it would be possible to use the same WAMP installation for configuring it to support JSPs, you would still need a Servlet Container for interpreting your Java/JSP source files. Since you are new to WAMP, it would be more logical to install a different Servlet Container such as Tomcat given below to reduce the time needed to get you up and running.

要以除项目规范外的最少配置/维护来部署JSP应用程序,请查看Windows的Apache Tomcat.

To deploy JSP applications with minimal configuration/maintenance other than your project specifications, check out Apache Tomcat for Windows.

http://tomcat.apache.org/- 查看全文

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