Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getServletContext().getAttribute(Globals.MESSAGES_KEY) always returns NULL  RSS feed

 
Jenish Shah
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application.

When my application starts I am trying to do m_controlServlet.getServletContext().getAttribute(Globals.MESSAGES_KEY);

But this always returns NULL.

Can anybody please tell me what settings i am missing to do?

Jenish
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!