hi You have to Configure DataSource and then u can get the refernce of the same it in the ACtion and can use it
Regards gary ----- Original Message ----- From: "Divya B Sridhar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 04, 2003 7:03 PM Subject: Database with struts > Hi all, > I am trying to do a database connectivity using struts. > Actually, the database resides on another machine and I have tomcat > running on my local machine. > The other machine is a linux box(a linux machine) which has the database > installed(PostgreSQL). > So, apart from the <data-sources> tags to be specified in the > struts-config.xml file, the Action class containing the Connection and > the queries, what other configuration is required. Any ideas on this?(I > mean to ask the other steps required in order that a simple sample > database example with struts works - drivers etc. Any input is welcome) > Thanks in advance, > > Regards, > Divya. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

