0% found this document useful (0 votes)
19 views

Creation of Data Source

The document provides steps for mapping a data source in ODBC and starting the Apache Tomcat web server: 1. To map a data source in ODBC, select the driver, type the data source name, browse to select the database file location, and click OK to complete the mapping. 2. To start the Apache Tomcat web server, access the Tomcat properties dialog from the programs menu, click start, and check the progress bar for status. 3. The running Tomcat server can be accessed locally by entering "http://localhost:8080" in a web browser.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Creation of Data Source

The document provides steps for mapping a data source in ODBC and starting the Apache Tomcat web server: 1. To map a data source in ODBC, select the driver, type the data source name, browse to select the database file location, and click OK to complete the mapping. 2. To start the Apache Tomcat web server, access the Tomcat properties dialog from the programs menu, click start, and check the progress bar for status. 3. The running Tomcat server can be accessed locally by entering "http://localhost:8080" in a web browser.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Creation of Data Source:

Source Code: Connection con=null; Class.forName(sun.jdbc.odbc.JdbcOdbcDriver ; con=Driver!ana"er."etConnection(Jdbc:odbc:DATASOURCENAME ;

Mapping DataSource in OpenDatabaseConnectivity


#. StartControl $anel%dministrative &oolsData Sources (OD'C (Dialo" bo( a))ears

*. +serDSN or S,stemDSN (Select an,one -. Clic. %dd 'utton /. Dialo" bo( named Create Ne0 Data Source a))ears

1. Select Driver Name (!icrosoft %ccess Driver 23.mdb4

5. clic. finis6. 7. Dialo" bo( named OD'C !icrosoft %ccess setu) a))ears 8. &,)e DATASOURCENAME in Data Source Name &e(t 'o(.

9. Clic. Select 'utton.

#:. Dialo" bo( named Select Database a))ears.

##. Select Drives for C or D or ; or <. #*. Select director, for t6e filename databasefilena e! db!"find

database

s access file location#

#-. <ile Name automaticall, a))ears in t6e te(t area. #/. Clic. O= button #1. No0 DataSource source !a))in" )rocess 0as com)leted.

Starting Apac$e To cat%!& 'eb Server


#. *. -. /. 1. Clic. Start$ro"ram <iles%)ac6e &omcat confi"ure &omcat Dialo" bo( named %)ac6e &omcat $ro)erties a))ear Clic. on t6e start button $ro"ress 'ar s6o0s t6e status of startin" of 0eb Server. &o Sto) t6e &omcat 0eb Server clic. on t6e sto) 'utton.

5. >o to t6e ?nter;()lorer t,)e t6e follo0in" for accessin" t6e @esoursces

7. $ttp:((local$ost:)&)&A

8. c6ec.in" 06et6er tomcat is started. 9. $aste ,our )roject in Bocation of C:C$ro"ram <ilesC%)ac6e Soft0are <oundationC&omcat 1.1C0eba))sCpro*ectfolder #:. for accessin" )roject

$ttp:((local$ost:)&)&(pac+agena e(filena e!*sp

You might also like