RE: mysql connection with JSP

2005-10-06 Thread Mark Benussi
jdbc:mysql://hostname:3306/database?user=usernamepassword=password

However on a design front I would never personally look up a database
connection in a JSP. Others may disagree.

-Original Message-
From: Cengiz Yazgan [mailto:[EMAIL PROTECTED] 
Sent: 06 October 2005 11:46
To: 'Tomcat Users List'; 'Tomcat Users List'
Subject: mysql connection with JSP

Hi  everybody

I want to connect a mysql database with jsp code.
Can anybody help me to write a connection string.

Thx.


Cengiz YAZGAN
Sistem Mühendisi/System Engineer
DorukNet
Tel / Phone : +90 212 326 92 00 / 447
Fax : +90 212 227 28 11
E-mail : [EMAIL PROTECTED] 
http://www.doruk.net.tr 
http://www.doruk.net.tr/english.html



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: mysql connection with JSP

2005-10-06 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a 
new topic) please do not reply to an existing message and change the 
subject line. To many of the list archiving services and mail clients 
used by list subscribers this  makes your new message appear as part 
of the old thread. This makes it harder for other users to find 
relevant information when searching the lists.


This is known as thread hijacking and is behaviour that is frowned 
upon on this list. Frequent offenders will be removed from the list. 
It should also be noted that many list subscribers automatically 
ignore any messages that hijack another thread.


The correct procedure is to create a new message with a new subject. 
This will start a new thread.


Mark
tomcat-user-owner


Cengiz Yazgan wrote:

Hi  everybody

I want to connect a mysql database with jsp code.
Can anybody help me to write a connection string.

Thx.


Cengiz YAZGAN
Sistem Mühendisi/System Engineer
DorukNet
Tel / Phone : +90 212 326 92 00 / 447
Fax : +90 212 227 28 11
E-mail : [EMAIL PROTECTED] 
http://www.doruk.net.tr 
http://www.doruk.net.tr/english.html




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]