File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
It is sorta covered in the JavaRanch Style Guide.
subject: ServletContextListener doubt
Similar Threads
NullPointer Exception
Classpath problem.
about error code