Wamp server: how to deploy jsp application

I recently started using a WAMP server. I cannot deploy my Java application. only HTML pages are launched. Please help with the directory structure and where to store jsp, java, .class, war, xml files. JSP code is displayed on the html page when I click the link for jsp.

+3
source share
4 answers

The WAMP server is primarily intended for developing PHP / MySQL on Windows and does not support Java / JSP out of the box. (AFAIK) Although you could use the same WAMP installation to configure it to support JSP, you would still need a servlet container to interpret the Java / JSP source files. Since you are new to WAMP, it would be more logical to install another Servlet container, such as the Tomcat below, to reduce the time it takes to start and run.

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

http://tomcat.apache.org/ - Download Tomcat 6.0 (Windows Service)

+5
source

, -.

, Wamperver Tomcat . Wamp 80, http. , Tomcat 8080, , , Tomcat 8080, . - Blazix.

.

+7

, / ... WAMP Server: PHP - JAVA/JSP?

- JAVA-, , , , JAVA, , - Apache Tomcat?

0

Wamp server and Tomcat work on the same computer without any configuration error or any other error. So just go ahead and install Tomcat for jsp files if you installed Wamp for other web design purposes. I myself have done the same, and it works continuously.

0
source

Source: https://habr.com/ru/post/1717566/


All Articles