Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Daryl Butler   on Jun 20 In Java Category.

  
Question Answered By: Giovanna Silva   on Jun 20

U can Use the ServletContext or HttpSession to store your
variables

For Example..
HttpSession session;
session = req.getSession(true);
session.setAttribute("user_name",userName);

Hope this info will help U .

Share: 

 

This Question has 7 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Servlet/JSP Or get search suggestion and latest updates.


Tagged: