View Single Post
  #3 (permalink)  
Old 12-20-2007, 11:15 AM
collins collins is offline
Member
 
Join Date: Dec 2007
Posts: 3
collins is on a distinguished road
Hi,
Define the JDBC details in a method in a separate class and Create an object of that class in the servlet. Using this object, call the method which establishes connection.
I think this is the best possible way....If any query...do reply!!!
All The Best!!!
Reply With Quote