cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Mauch <ma...@imkenberg.de>
Subject CONTEXT_ENVIRONMENT_CONTEXT can be null ?
Date Fri, 22 Feb 2002 12:41:00 GMT
Hi 
I try to look up the context but I receive null
The code in my actions simply looks like:
  	Context context =
(Context)objectmodel.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT);
      	if(context == null)
        		System.out.println("no context");

I run cocoon with tomcat, so I expect a Environment to exist ?
or does I understand the context object wrong ?

Thx Thorsten

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message