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


Reply via email to