Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet Session issues  RSS feed

Joel McNary
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to store login information in an HttpSession and then check that the user is logged in at the beginning of each servlet in our system. Setting the information seems to work OK; however, when I go to retreive that information I discover that the session does not exist. What am I doing wrong here?
(I'm using Applets that communicate with servlets which in turn communicate with EJBs).
//Set the information in one servlet

//Get the value in another servlet

//And the Reult of the println

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!