02 - Set up a development environment for testing AJAX calls

For testing and developing our application let’s use a simple web server, for this download Apache Tomcat from http://mirrors.dcarsat.com.ar/apache/tomcat/tomcat-7/v7.0.52/bin/apache-tomcat-7.0.52.zip

Once downloaded extract the content on your computer (i.e: D:\tutorial\Ajax), the following should be the structure for your Apache Tomcat installation:

Go to the bin folder and execute the startup.bat file. (i.e: D:\tutorial\Ajax\apache-tomcat-7.0.52\bin\startup.bat)

Once Tomcat is up and running you can open a web browser and go to localhost:8080, you should see a page like the following:

This indicates that you have successfully installed and started the Apache Tomcat web server.

If we look back to the folder structure, you should see a ROOT folder, this is the default location for the webpages that we will be using for our AJAX demos.

Like us on Facebook