This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Servlets and the fly likes ServletContextListener doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "ServletContextListener doubt" Watch "ServletContextListener doubt" New topic

ServletContextListener doubt

vinal sen
Ranch Hand

Joined: Dec 13, 2007
Posts: 37
I have been trying to set attributes,using the context parameter and ServletContextListener interfaces.

When I try to test the program (after setting the attributes),the attribute value is null(It does not throw null pointer exception).I had given the context param name

what could be the reason?could someone please help me?

[ October 16, 2008: Message edited by: Bear Bibeault ]
vinal sen
Ranch Hand

Joined: Dec 13, 2007
Posts: 37
Sorry Guys! I found out that I had failed to make a context param-name breed(instead it was ddd) thank you.

Moderators: could you please close the topic.thank you.
I agree. Here's the link:
subject: ServletContextListener doubt