File index.jsp
<html>
<body>
<h2>Hello World!</h2>
</body>
</html>
Start the project and open the link:
http://localhost:8080/MyWeb1
We see that our web page is working on the way
Click on the green triangle
The
Edit configuration window with the default configuration appeared.
At the bottom, we see an error
Error: Module is not selected
Click on the green triangle
The application starts and sees the command in
Console:
C:\Users\echig\.jdks\openjdk-22.0.1\bin\java.exe "-Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 9.0"
-Dcatalina.base=C:\Users\echig\.SmartTomcat\MyWeb1\MyWeb1
-Djava.io.tmpdir=C:\Users\echig\.SmartTomcat\MyWeb1\MyWeb1\temp
-Djava.util.logging.config.file=C:\Users\echig\.SmartTomcat\MyWeb1\MyWeb1\conf\logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2024.3\lib\idea_rt.jar=55900:C:\Program Files\JetBrains\IntelliJ IDEA 2024.3\bin"
-Dfile.encoding=UTF-8
-Dsun.stdout.encoding=UTF-8
-Dsun.stderr.encoding=UTF-8
-classpath "C:\Program Files\Apache Software Foundation\Tomcat 9.0\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Tomcat 9.0\bin\tomcat-juli.jar"
org.apache.catalina.startup.Bootstrap start
Click on the link:
http://localhost:8080/MyWeb1
We see that our web page has been launched on a web server: