Skip to main content

Unable to retrive username from session, while running glassfish 3.x with NetBean 7.x !!

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2013-10-22


I am running my web application in Glassfish app server with Netbeans IDE 7.x. After the server starts when I am logging into the login page, then next page is not able to load, I was debugged the issue and found that in login method, when it was retrieving the user name from session object it returns null value. I was cleared all the cookies and temp file from my system. DB used in this project was MySQL. Exception returned like jsp service() method, init() method not loaded like that. Please give me resolution for that.