This is probably more of an additional question than a help, but why do you want to do something other than create the datasource in your web.xml?

At 01:31 PM 7/8/03 +0200, you wrote:
Hello

I have created a datasource in my struts-config.xml. But I cant find out how
to use it. Creating my datasource in my web.xml works fine. Any tips?

- Terje

struts-config.xml:
...
 <data-sources>
  <data-source>
   <set-property value="true" property="autoCommit" />
   <set-property value="My database" property="description" />
   <set-property value="com.sybase.jdbc2.jdbc.SybDriver"
property="driverClass" />
   <set-property value="10" property="maxCount" />
   <set-property value="2" property="minCount" />
   <set-property value="xxxx" property="user" />
   <set-property value="xxxxx" property="password" />
   <set-property value="jdbc:sybase:Tds:mycomputer:4000/mydatabase"
property="url" />
  </data-source>
 </data-sources>
...


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



LEGAL NOTICE


This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you



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



Reply via email to