http://docs.google.com/Doc?docid=dcfz5m74_7cnstg3dm&hl=en
Installation
Java:Download Java SDK from http://java.sun.com/javase/downloads/index.jsp and install it.
MySQL:Download Mysql Server from http://dev.mysql.com/downloads/ and install it.
Apache Tomcat 6.0:
Download Apache Tomacat from http://tomcat.apache.org/download-60.cgi and install.
Connector/J:Download MySQL Connector/J — for connecting to MySQL from Java, from http://dev.mysql.com/downloads/ .Unzip the Connector/J zipped file and copy the file mysql-connector-java-5.1.7-bin to C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib,C:\Program Files\Java\jdk1.6.0_07\jre\lib\ext.
Setting The Environment Variables
1.Start-->Mycomputer-->Right Click-->Properties.
2.Click on advanced tab.
3.Click on Environment Variables.
4.Cick on the New Button in the User variables enter the details given below:
Variable name:CLASSPATH
Variable value:%classpath% ;.;C:\Program Files\Java\jre1.6.0_07\lib\ext\mysql-connector-java-5.1.7-bin.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\jsp-api.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar;C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\mysql-connector-java-5.1.7-bin.jar
5.Again Cick on the New Button in the User variables enter the details given below:
Variable name:PATH
Variable value:C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Program Files\Java\jdk1.6.0_07\bin;C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin
6.Again Cick on the New Button in the User variables enter the details given below:
Variable name:CATALINA_HOME
Variable value:C:\Program Files\Apache Software Foundation\Tomcat 6.0
Deploying the Application
Copy total application folder in the webapps directory in Tomacat.Then type: http://localhost:8080/application folder name