cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <cromo...@gmx.net>
Subject Re: InitParameters in Cocoon
Date Sat, 08 May 2004 10:50:30 GMT
Anna Bikkina wrote:

>I could put in a properties file but its just one property so didnt know if it 
>does make sense. Well if I cant reach web.xml then I have no other alternate 
>anway.
>
>Anyone else successful trying to get access to initparameters in web.xml?
>
>Thanks,
>Anna.
>
>On Thursday 29 April 2004 06:32 pm, Upayavira wrote:
>  
>
>>Why do you need them there. Can't you put them somewhere else? I've
>>failed before to get hold of web.xml parameters.
>>    
>>
>
>
>  
>
You shouldn't use web.xml to store and retrieve parameters, because 
cocoon is able to work without web.xml! Its better you're using one of 
the input modules: GlobalInputModule, DefaultsModule or 
PropertiesFileModule:
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/package-summary.html

Regards
Stephan

Mime
View raw message