cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Gabriel-Willem" <...@side.lu>
Subject RE: Cayenne files and WEB application classpath
Date Thu, 26 Feb 2009 16:45:16 GMT
Re,

Thanks to the WebApplicationContextFilter and the FileConfiguration, I
found a nice solution to my problem.

Thank you very much

Marc


-----Original Message-----
From: Marc Gabriel-Willem 
Sent: Thursday, February 26, 2009 4:54 PM
To: user@cayenne.apache.org
Subject: Cayenne files and WEB application classpath

Hello,

 

I've the following question regarding the configuration of the following
cayenne files:

 

C:\temp\dir1\cayenne.xml

C:\temp\dir2\map\xxx.driver.xml

 

Using the web.xml file, I would like to specify more than one path. For
example:

-          one for C:\temp\dir1

-          a second for C:\temp\dir2\map

 

<context-param>
    <param-name>cayenne.configuration.path</param-name>
    <param-value>path1</param-value>
</context-param>

 

I'm using the Cayenne version 2.

 

Thank you for your help!

 

Marc




Mime
View raw message