Title: struts-config.xml

In struts-config_1_0.dtd there is a note in the data-source section that the use of "url", "autocommit" and so on as attributes is deprecated, you should use set-property instead. How can I use set-property in struts-config.xml?

I have following datasource:
    <data-source
       autoCommit="false"
      description="My Data Source Configuration"
      driverClass="oracle.jdbc.driver.OracleDriver"
         maxCount="8"
         minCount="2"
         password="secrer"
              url="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(HOST=myhost)(PROTOCOL=tcp)(PORT=1))(CONNECT_DATA=(SID=mysid)))"

             user="myuser"/>

How can I rewrite this description so that it uses "set-property" as it is stated in the DTD?

Thank you,
Gernot

Reply via email to