i want to hide the welcome.jsp page. If we try to access welcome.jsp directly from browser(before doing the login) it should create new session and go to the login page. that is what i want to do. here is my code.
it goes to else part only. and print "welcome null"