You are on page 1of 1

I.Tomcat settings(4.

1 version)
----------------------------------------
1.Install the jdk 1.5.0 version in your specified location
2.Second set the path value in the environment variables.
3.For path settings follow the flow given below.
4.Goto mycomputer--->rightclick---->select properties----->select advanced---->s
elect environment variables
5.After getting into environment variables edit the path variable or give new pa
th variable(type yourself).
6.Set the following path as the path variable value.
path value---->C:\Program Files\Java\jdk1.5.0_01\bin
7.After installing the jdk install tomcat 4.1 in your specified dirctory.
8After installation copy the servlet jar file from the following location.
C:\Program Files\Apache Group\Tomcat 4.1\common\lib
And paste it into C:\Program Files\Java\jdk1.5.0_01\jre\lib.
9.Next set the class path in the environment variables similar to path setting.
10.For class path settings edit the classpath variable or create a new classpath
variable(type your self) and set the value as follows
Class path---->C:\Program Files\Java\jdk1.5.0_01\jre\lib\servlet.jar.
II.How to set DSN?
----------------------------
1.go to control panel ----> select Administrative tools ----->select datasource
s(ODBC)
2.Now a small window named odbc datasource administrator will open
3.select the system dsn or user dsn.
4.Now click the add button and select the specified driver(ex:microsoft access d
river(*mdb)) and click finish.
5.Now type the data source name("login.mdb") and select the path inwhich your da
ta base file is has stored.
6.after that click apply and ok.
7.Now the dsn will be added .
II.How to run?
-----------------------
1.After installing the jdk and tom cat settings go to the tomcat home directory
.
2.In that You can see the webapps folder.
3.Copy your application into webapps.
4.Now start the tomcat using start tomcat shorcut icon.
5.Now open the browser and type the url as
http://localhost:8080/your application name/index.jsp.
6.To close your application running stop the tomcat server using the stop tomca
t shortcut icon

You might also like