Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 7th, 2006, 03:07 PM
sucharit sucharit is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 2 sucharit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 42 sec
Reputation Power: 0
Unable to connect sqlserver with jsp

i am unable to connect sql server and jsp
I am unable to understand what driver do i need to download and from where. what all connectiond do i need to make bfore runnind this code
although this code gives exception of class not found
public class why
{
public static void main(String args[])
{
try
{
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
String connectionUrl = "jdbc:sqlserver://localhost;database=mysu;";
Connection con = DriverManager.getConnection(connectionUrl);


}catch(Exception e)
{
System.out.println("SOME FLAW IS THERE PLEASE ENTER AGAIN"+e);
}
System.out.println("ff");
}
}

please reply

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > Unable to connect sqlserver with jsp


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT