0% found this document useful (0 votes)
142 views6 pages

Installing Apache Tomcat on Windows

1. Download and install the latest version of Apache Tomcat from its website. 2. Run the installer and accept all defaults, including installing all components and configuring the administrator username and password. 3. Verify the Tomcat installation is running properly by accessing the default homepage at http://localhost:8080 and running a sample JSP script that displays the current date.

Uploaded by

ErwinMacaraig
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
142 views6 pages

Installing Apache Tomcat on Windows

1. Download and install the latest version of Apache Tomcat from its website. 2. Run the installer and accept all defaults, including installing all components and configuring the administrator username and password. 3. Verify the Tomcat installation is running properly by accessing the default homepage at http://localhost:8080 and running a sample JSP script that displays the current date.

Uploaded by

ErwinMacaraig
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

INSTALLING APACHE TOMCAT IN WINDOWS

1. Download the latest apache tomcat application server from: [Link]

2. Locate where you downloaded the installation file and then double-click the file. It will show you a dialog screen show below.

Just press Next button. 3. The installer will prompt you with the Software License Agreement. Just press I Agree

4. You will be asked to choose the Tomcat software components to install. Choices are: Full, Customized, And Normal. Just choose Full from the drop down selection.

5. Enter your configuration options for Tomcat. Just accept the default values and specify Username and Password for the Tomcat Administrator Login.

6. Specify the path of your Java installation directory. The default installation directory will be: C:\Program Files\Java\jre7 if you installed the latest Java SDK

7. Choose the directory where you want your Tomcat installed. I choose C:\Tomcat

8. Confirmation screen will appear as shown below:

9. Open your favorite browser and test if Tomcat is running. At your browser, type: [Link] You should see a similar page as shown below.

10. Write a sample script to finally check if everything is ok. <html> <head> <title>Test JSP Page</title> </head> <body> <% [Link] d = new [Link](); %> <% [Link]("The Date today is: " + d); %> </body> </html> Save the file with a .jsp extension, under C:\Tomcat\webapps\ROOT\. For this example, save it as [Link] 11. Access your script using a web browser, type in [Link] :8080/[Link]. In your web browser, the current date should be displayed.

You might also like