• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Variable symbol not found

 
commissioner Bright
Greenhorn
Posts: 3
  • 0
  • 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: 64171
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you declared session???anymore in your code
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic