Do like this,first make the session creation false in your jsp.
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1" session="false"%>
Then to get the session,
<%
HttpSession sessionsa = request.getSession(false);
String user = (String) sessionsa.getAttribute("user");
String location = (String) sessionsa.getAttribute("location");
%>
By this you will get the user and location from the session.Hope this will help you.