Tomcat 4

R

ramdeepak

I am working with Tomcat 4.
I have servlet, configered in start up, I load some hashes and will put
them Attributes and when load this in page it works. ( when i have
default tomcat dirs i.e in webapps/examples/....)

But when i use seperate dirs as (webapps/test), I have added an entry
in server.xml and wrote a seperate web.xml), it shows
NullPointerException in the line "context.getAttribute("test") "

Can any one help me on this.

Thanks in Advance
-Ramdeepak
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,811
Messages
2,569,693
Members
45,477
Latest member
IsidroSeli

Latest Threads

Top