BestITClasses.com

.....:::: Welcome to BestITClasses.com ::::.....
Our Network :: Allindia9.com - Classifieds || Jobssamachar.com || erealestateindia.com || telugu9properties.com || educationjobsinfo.com || alltelugu9.com - Property Market
.....:::: " This Website is for sale send your offer to alltelugu9@gmail.com" ::::.....
 JAVA AJAX Tutorials

Now double-click the jaxtut.jar file. (If nothing happens, you do not have an association for the ".jar" extension. In this case, bring up a command prompt window, change directory to C:\Jaxtut, and run the command java -jar jaxtut.jar instead.)

You should see the tutorial server comes up. The first time, it will ask you to confirm its setup before starting. The defaults should be ok, make sure they are as follows:

  • Port number should be 80. (If you are already running a server on port 80, you can shut it down while doing the tutorial, or you can change the port number to something else, e.g. 8080. If you are using port 80, the URLs are of the form http://localhost/, but if you are using a port number other than 80, e.g. 8080, the URLs will be of the form http://localhost:8080/)
  • HTML Folder should be C:\jaxtut\html
  • Java classpath should be C:\jaxtut\java
  • Config file should be C:\jaxtut\JaxcentConfig.xml
or as appropriate, if you are on a non-Windows system or have installed in a location different from C:\jaxtut.

Click OK to accept the settings, and minimize the tutorial server.
In the future, you will need to start the tutorial server by double-clicking the JAR file (or by issuing a java -jar command) before running any of the tutorial steps. After the first time, the tutorial server will not ask for any settings. It can be minimized and put out of the way. To see output from your System.out.println statements, or exception stack traces, un-minimize the tutorial server and look at its output window.

To make sure the tutorial server is installed and running correctly, visit the following location in your browser:

http://localhost/ You should see a message saying the tutorial server is working.
You should see two links, both should work.


Previous Home Next

 Copy Rights are Reserved @ BestITCLasses.com