In this section, we will create a very simple JQuery application that will pull data from a text file on the server. We are using Tomcat 6 as the web server. You are free to use a later version, if you wish.
A Sample application using JQuery
Tomcat setup
Tomcat can be downloaded from https://tomcat.apache.org/. Once Tomcat is downloaded, go through the following the steps:
- Extract the ZIP file to a convenient folder
- Go to the bin directory in the Tomcat installation and double-click startup.bat
A console window similar to the one shown in the following screenshot will pop up:
- When the text INFO: Server startup in ... ms is displayed, it means that Tomcat has started successfully. To verify the Tomcat server, simply go...