http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
Included are sample configurations and a small class example.
What's jtds by the way ?
Hope it helps you out.
Victor Gonzalez wrote:
Hi all, I'm really very newbie, I saw (in the list) many descriptions about the database in the web.xml, and similar comments, well, I need to know, how can I make it, ok, more specific, I have a tomcat and I want connect with SQL Server, well, I download the jtds 0.5.1 and put it in the c:\tomcat4.1.18\common\lib and put the jar in the classpath.... I think I'm ok, I check the documentation (???) and it isn't exist! Well, I want (please, and I will be very thankful with you) a concise explication how-to create a connection a my database (SQL Server, of course), create "database" in the web.xml and how I can recovery (with jtds, of course) from database with combinations with other requirements.... Well and syntax form...
1. Example and explication of web.xml with sql server database declarations. 2. Example and explication of file.class (or more simple, into a jsp file) to realize the connection with jtds.
3. The recovery, well, I think check it in the javadoc, Really is more important the two first points (it is necessary like a base)
Tnks, so much!!
Regards,
Victor Gonzalez ***************
--------------------------------------------------------------------- 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]
