This content has been marked as final.
Show 2 replies
-
1. Re: Adding additional properties to postgres-ds.xml
beyarecords Dec 7, 2004 10:37 AM (in response to beyarecords)Hi,
was just reading some information about struts, where you can set a property on a datasource like so:<!-- configuration for GenericDataSource wrapper --> <data-source> <set-property property="driverClass" value="org.postgresql.Driver"/> <set-property property="password" value="mypassword"/> <set-property property="url" value="jdbc:postgresql://localhost/mydatabase"/> <set-property property="user" value="myusername"/> </data-source> </data-sources>
What I want to be able to say in my postgres-ds.xml file is :<set-property property="javax.net.ssl.trustStore" value="/library/java/home/lib/security/cacert"/> <set-property property="javax.net.ssl.trustStorePassword" value="changeit"/>
How do I go about acheiving this?
regards
Andrew