cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: InitParameters in Cocoon
Date Thu, 29 Apr 2004 22:32:23 GMT
Anna Bikkina wrote:

>Hi,
>
>I have been struggling with this problem since a week. Can someone please shed 
>some light.
>
>I have some init-parameters defined in web.xml which are related to my 
>application running on cocoon. When I do 
>context.getInitParameter("paramname")  in a xsp it returns null. Also in 
>action files
>
>String limit1 =   
>ObjectModelHelper.getContext(objectModel).getInitParameter("timelimit");
>
>when I use the above command I get limit1 as null. Am I missing something 
>here.
>  
>
Why do you need them there. Can't you put them somewhere else? I've 
failed before to get hold of web.xml parameters.

Upayavira



Mime
View raw message