File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Variable symbol not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Variable symbol not found" Watch "Variable symbol not found" New topic

Variable symbol not found

commissioner Bright

Joined: Apr 02, 2011
Posts: 3
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

Joined: Jan 10, 2002
Posts: 63874

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.

[Asking smart questions] [About Bear] [Books by Bear]
nirmal singh

Joined: Feb 07, 2008
Posts: 6
Have you declared session???anymore in your code
I agree. Here's the link:
subject: Variable symbol not found
It's not a secret anymore!