Hi
is it possible to use static variables with servlet.
I want to access static variable from servlet but it gives null value. Why??

Recommended Answers

All 2 Replies

yes, this is possible, maybe you're not calling it the right way.

Thanks for yor reply. I have done it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.