This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes Runtime exception setAttribute no found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Runtime exception setAttribute no found" Watch "Runtime exception setAttribute no found" New topic
Author

Runtime exception setAttribute no found

Georg Haugland
Greenhorn

Joined: May 15, 2000
Posts: 2
I keep getting an error that says that the setAttribute("test", new Object()) does not exist!!! I know good and well that it does, what is up?
Inside an object extending HttpServlet I call
getServletContext().setAttribute("test", new Object());
Thanks for the help.
Georg
 
GeeCON Prague 2014
 
subject: Runtime exception setAttribute no found