> > >>ServletContext servContext = (ServletContext) >>objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT); >> >>HttpEnviroment... Thats Ok with me :) >> > >Cocoon's wrapper of environment contains HttpEnvironment if you are running >in a servlet environment. If you run your code in a command line then you >will get null. Cocoon's context wrapper should be used to avoid problems in >different environments. > >If you don't need Http specific features then there is no need to use it. > >Regards, > Konstantin > Hi Konstantin! For manipulation cocoon Enviroment attribut's within action (for manipulation sitemap params :) ) I need cocoon's ServletContext (like 'application' object in JSP) It's specific features?
Yury. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>