Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Variable symbol not found

 
commissioner Bright
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody. i have run my program in jsp but i have move it to servlet. during compilation, the following error ensued


what do i do thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65228
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you define a variable named session? If not, and are expecting there to be an implicit variable (like there is in JSP), then that's the issue.

You can fetch the session from the request instance.
 
nirmal singh
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you declared session???anymore in your code
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic