cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barbara Slupik <>
Subject Re: Resource outside jar
Date Thu, 09 Jul 2009 07:55:40 GMT
Benjamin, thanks for your help.

I use Spring Configurator for database settings. It works very well.

I decided to put my Printers.xml file in context, that is in my block/ 
application webapp. My client can add his custom Printers.xml to the  
application webapp after installation. Printers.xml is outside jar, so  
my client can modify it easily at any time.

In my sitemap I refer to Printers.xml file like this:

	<map:generate src="context://Printers.xml"/>
	<map:read mime-type="text/xml" src="context://Printers.xml"/>

It works both in jetty and tomcat.


On 6 Jul, 2009, at 4:56 pm, Benjamin Boksa wrote:

> Hi Barbara,
>> The new cocoon-2.2.0 application is sending jms requests - this  
>> works ok. Now I need to add printers. Of course I could put the  
>> printers into the database but I prefer to stay with xml file.
> take a look at the Spring Configurator, you could easily use it to  
> provide the configuration path to your application or even use it to  
> do the complete printer configuration.
> Hope that helps
> Benjamin
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message