Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSp sessionvalue not getting IE8 version

 
Shilpa Nandiv
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am executing jsp file in i frame.I set the values in session in upload.jsp file and accessing in uploadprosess.jsp and executing application in IE8 .So iam not getting session values please check the code and tell me.and this code is working in all browser.

uploadprosess.jsp

String rollNo = request.getParameter("rollNo");
String subjectCode = request.getParameter("subjectCode");
String setNo = request.getParameter("setNo");
String returnUrl = request.getParameter("returnUrl");
String sessionId = session.getId();


uploadprosess.jsp

String rollno=(String)session.getAttribute("rollNo");
String subjectCode=(String)session.getAttribute("subjectCode");
String setNo=(String)session.getAttribute("setNo");
String returnUrl=(String)session.getAttribute("returnUrl");
String sessionId=(String)session.getAttribute("sessionId");

I am getting null values


Thanks

svn
 
er.gaurav goel
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(String)session.getAttribute("sessionId"); makes no sense to me as the session Id will be the same for each page. i.e. request.getSession.getId() will return the same ID.
And your question is not clear enough, kindly elaborate the question a bit.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic