• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session issue with Glassfish (Linux)

 
leo jacob
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have deployed a web application in glassfish server in Linux environment. It is working fine in windows environment but in Linux it is showing some issues regarding Sessions. It is not capturing data in session. For example in my application user name is displaying as welcome User and here I am using session to store user name. It is appearing correct in windows OS but not showing in linux environment. I am not able to get the reason. Any help is highly appreciated.

My code related to session is as follows:

JSP:

import javax.servlet.http.HttpSession;

public class LoginAction extends ActionSupport implements SessionAware,
ServletRequestAware,ModelDriven {

private Map session;

public void setSession(Map session) {
this.session = session;

}

@SuppressWarnings("unchecked")
public Map<String, List<String>> getSession() {

return session;

}
session.get("userId");


}




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic