You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Antony Stace <s4...@yahoo.com> on 2002/02/06 08:56:14 UTC

Any way to pass parameters to the JDBC driver?

Hi

Is there anyway I can pass the parameters

     -Dfile.encoding=SJIS -Duser.language=ja 

to the JDBC postgres driver via the struts-config.xml file.


  <data-sources>
    <data-source
       autoCommit="false"
      description="Example Data Source Configuration"
      driverClass="org.postgresql.Driver"
         maxCount="4"
         minCount="2"
         password="testdb"
              url="jdbc:postgresql://localhost/testdb"
             user="testuser"
              key="testdb"
    />
  </data-sources>

Cheers

Tony




-- 


Cheers

Tony。
---------------------------------------------------------------------


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>