Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HttpSessionListener

 
Sharanya Sharma
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a servlet with a doGet method with a call to the listener class's method.

The problem is that though the listener class is visible to the servlet class, when I try to access the public static method of that class on the class, I am getting variable not found error.

I have correctly added the entries of the listener and the servlet in the web.xml(I dont think it has anything to do with the error).

Thx,
Sharanya
 
Get out of my mind! Look! A tiny ad!
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!