C:\Tomcat 6.0\webapps\test\WEB-INF\classes>javac Test.java Test.java:26: cannot find symbol symbol : variable session location: class Test String name = session.getAttribute("name").toString(); ^ 1 error
how do i define variable session or how do i fetch the session from the request instance. please give example. thanks
Edited by Roger, 10 April 2011 - 03:11 PM.