This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Variable symbol not found" Watch "Variable symbol not found" New topic
Author

Variable symbol not found

commissioner Bright
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

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] [Bear's FrontMan] [About Bear] [Books by Bear]
nirmal singh
Greenhorn

Joined: Feb 07, 2008
Posts: 6
Have you declared session???anymore in your code
 
Don't get me started about those stupid light bulbs.
 
subject: Variable symbol not found
 
Similar Threads
doubt related to packages (To chandilya poppuru)
Error in Package
Help with DateFormat!?
class in the default package not found by javac?
can anyone please briefly teach me how to write a classic game?