Website and database connection

25 pts.
Tags:
Database connectivity
JSP
SQL Server
SQL Server connectivity
SQL Server development
Web development
can anybody tell me how to connect the MS sql database with the jsp pages....I got the ip address and username with the password...I know how to connect it in a local system...but I dont know how to connect it with the database in the web server....Please help me to solve this matter

Answer Wiki

Thanks. We'll let you know when a new response is added.

You’ll need to use the information you have to create the connection string. <a href=”http://www.connectionstring.com/”>Connectionstrings.com</a> has all sorts of good info on getting up the connection string.

You’ll then need to open the <a href=”http://www.devhardware.com/forums/programming-82/connecting-to-sql-server-using-jsp-32079.html”>connection and execute</a> the query that you want.

<a href=”http://www.java-samples.com/showtutorial.php?tutorialid=619″>Here is an example</a> you could find useful.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following