943,828 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Marked Solved
  • Views: 2121
  • JSP RSS
You are currently viewing page 1 of this multi-page discussion thread
Apr 23rd, 2008
0

can i know what software shall i use to connect jsp file to the database?

Expand Post »
do i need a connector???
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
Visualogic is offline Offline
29 posts
since Apr 2008
Apr 24th, 2008
0

Re: can i know what software shall i use to connect jsp file to the database?

No if you can create one for your self, but I would not recommend that. Better to stick with connectors....
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 873
Code tags enforcer
peter_budo is offline Offline
6,656 posts
since Dec 2004
Apr 24th, 2008
0

Re: can i know what software shall i use to connect jsp file to the database?

which connector do u prefer???
Reputation Points: 10
Solved Threads: 0
Light Poster
Visualogic is offline Offline
29 posts
since Apr 2008
Apr 24th, 2008
0

Re: can i know what software shall i use to connect jsp file to the database?

It is more of question what database you using MySQL/MsSQL/Oracle
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 873
Code tags enforcer
peter_budo is offline Offline
6,656 posts
since Dec 2004
Apr 24th, 2008
0

Re: can i know what software shall i use to connect jsp file to the database?

and that's after you stop trying to place business logic in JSPs.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Apr 24th, 2008
0

Re: can i know what software shall i use to connect jsp file to the database?

i am using Microsoft SQL server 2005.
Reputation Points: 10
Solved Threads: 0
Light Poster
Visualogic is offline Offline
29 posts
since Apr 2008
Apr 25th, 2008
0

Re: can i know what software shall i use to connect jsp file to the database?

Ouch, you just hurt my feelings....
Why you not using MySQL, it is more easier to work with (in my opinion). If you wish to stay with MsSQL you need to get your self ODBC connector and learn to use it
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 873
Code tags enforcer
peter_budo is offline Offline
6,656 posts
since Dec 2004
Apr 25th, 2008
0

Re: can i know what software shall i use to connect jsp file to the database?

You need to download the sql server 2005 jdbc driver (sqljdbc.jar) and make sure it is on the application server/servlet container's CLASSPATH.
An easy way of doing this is to put sqljdbc.jar in your webapps WEB-INF/lib directory.

There is plenty of documentation on MSDN on how to use it. A good basic example is here
Last edited by blater; Apr 25th, 2008 at 10:02 am.
Reputation Points: 12
Solved Threads: 7
Light Poster
blater is offline Offline
25 posts
since Mar 2008
Apr 27th, 2008
0

Re: can i know what software shall i use to connect jsp file to the database?

Click to Expand / Collapse  Quote originally posted by Visualogic ...
do i need a connector???
HI My Friend,
Pl. avoid to connect to database from jsp file using any software. Pl. Write Separate Coding for connect Database in this coding using type 4 driver. it is very easy to connect all database without DSN name creation.

If you connect DATABASE using any database you cannot transfer context any system it is no easy.

So, Pl. Write java coding you connect database server side.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
manikandan.sri is offline Offline
1 posts
since Apr 2008
Apr 27th, 2008
0

Re: can i know what software shall i use to connect jsp file to the database?

ok, lets me try it. i am new to this.

need to learn more.
Reputation Points: 10
Solved Threads: 0
Light Poster
Visualogic is offline Offline
29 posts
since Apr 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: I want source code of Recruitment website in JSP
Next Thread in JSP Forum Timeline: Problem With Hover Button





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC