my dog learned polymorphism
The moose likes JDBC and the fly likes how to connect  tomcat server application to sql server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "how to connect  tomcat server application to sql server" Watch "how to connect  tomcat server application to sql server" New topic
Author

how to connect tomcat server application to sql server

samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
i have a sql server
i m having one application in which i m giving parameter from html form
to servlet controller using tomcat server.
if i want to store parameter in the data base from tomcat application.
than how can i make a connection with the sql database

my code

my servlet code


in servlet code what changes should i have to do to connect
it with the data base .
if anyone can give me good link it will be also help for me
[ August 17, 2005: Message edited by: sandeep mittal ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56192
    
  13

Start here.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56192
    
  13

Then here.
samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
thanks Bibeault
for giving me direction
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to connect tomcat server application to sql server
 
Similar Threads
in which method shuld i use at the servlet code for request
how to send parameter from html to jsp??
prb from Hemant Deshmukh...
How can I run this sample code?
problem with setContentType() method