Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Runtime exception setAttribute no found  RSS feed

 
Georg Haugland
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!