Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to connect tomcat server application to sql server

 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Bibeault
for giving me direction
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic