February 2019
Intermediate to advanced
442 pages
11h 46m
English
Before we proceed with View and Controller for handling views, we will deploy the app developed so far to Tomcat. You can download Tomcat 8.5 from here (https://tomcat.apache.org/download-80.cgi). Installation is as simple as extracting the ZIP/TAR file onto your file system.
Let's create a user admin and manager-gui role in Tomcat. To do this, have to edit apache-tomcat-8.5.23/conf/tomcat-users.xml and add the following line:
<role rolename="manager-gui" /><user username="admin" password="admin" roles="manager-gui" />
Starting up Tomcat is simple, as follows:
Navigate to http://localhost:8080/manager/html and enter admin, and admin for username and password respectively, ...