how to configure <data-source> tag in struts-config.xml
Hello Friends ,
I am using struts and I want to configure the <data-source> tag in struts-config.xml pls let me know how to specify the elements in this tag .... i am going to use oracle type 4 thin driver ... provide me with an example of <data-source> tag ... I am bit confused what to specify in type attribute of the said tag .. if am using oracle thin driver .
thanks for your response in advance .,
[435 byte] By [
Mahantesha] at [2007-11-26 18:15:21]

# 1
hi,
Unless you know a lot about xml, I would not advice you to touch it. This can stop the server or any other things from working. You are better off setting up within the admin console.
Get your JDBC drivers for your DB. Set it up within your admin console as by default it ignores the environmental variables. Set your JDBC settings to your DB and ping it. Once it is successfully. Your domain.xml as well as your config.xml will up updated accordingly. Reply if you need further information for setting this up.
eve