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.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:
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.
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/package-summary.html
Regards Stephan
