Ajax Technology Tutorials Java Programmers
Entry
Install Tutorial Server
Therefore, a small server is provided here, which is very easy to install, has been jaxcent, and gets the way of installing problems, so you can focus on the concept of energy. This server is not very fast, but it is very convenient and easy to install. Its purpose is to learn, not to use the production.
The first step is to download the compressed file below, and extract its contents.
Jaxtut.zip (view license)
In this tutorial, we will assume that you have established a folder C:jaxtut and extract the compressed files to this folder, so you should have the following hard drive:
C: Jaxtut Jaxtut.jar
C: Jaxtut Jaxcentconfig.jar
C: Jaxtut license.html
C: Jaxtut HTML (Table of contents)
C: Jaxtut Java (catalogue)
C: Jaxtut Air Pollution Index (catalogue)
(If you are a non-Windows system, or if you need to use a different path, adjust the name.) )
Please note that you will also get a "solution" folder-it is intended to be used in your complete exercise on your own! The solution provided is just one way to do the task and may be more interesting with your own solution.
Now double-click the Jaxtut.jar file. (If there's no reaction, you don't have an association.) "Jar" extension. In this case, take out a command prompt window, change the directory to C:jaxtut, and run the command Java Jar Jaxtut.jar instead. )
You should see the tutorial server appear. For the first time, it will ask you to confirm its installation before it starts. The breach should be jade to ensure that they are as follows:
The number of Hong Kong should be 80. (If you are already running server 80 ports, you can turn it off, and do this tutorial, or you can change the port number other, such as 8080.) If you are using port 80, the URL form of http://local/, but if you are using 80 other than the port number, such as 8080, the URL will form http://localhost:8080/)
The HTML folder should be C:jaxtut html
The Java classpath should be c:jaxtut Java
The configuration file should be C:jaxtut Jaxcentconfig.xml
or appropriate if you are a non-Windows system or have been installed in a different location from the C:jaxtut.
Click OK to accept the settings and minimize the tutorial server.
In the future, you will need to start the server tutorial by double-clicking the jar file (or issuing the Java Jar command), and then running any tutorial steps. After the first tutorial the server will not require any settings. It can be minimized and presented in a way.
To view your output SYSTEM.OUT.PRINTLN report, or exception stack trace, cancel the tutorial server and look at its output window.
To ensure that the teaching server is installed and running properly, visit the following location, your browser:
http://localhost/
You should see a message that the tutorial server is working.
You should see two links, both working.