here problem is that After invoking invalidate() method getAttribute("user") method doesn't return any value or exception.and also line number 6,7,8 not print any value.
output: mukund
password
Mukund A. Kumar wrote:but why the exception is not showing in netbeans ide logs when we don't insert a catch block
Bear Bibeault wrote:I don't run web apps inside an IDE.