Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session management problem

 
Harshal Gurav
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am passing the value of groupid using session management . In page toplinks.jsp I am retrieving it . I am setting the session values of groupid in page as.jsp which calls page try.jsp. In page try.jsp I am importing the page toplinks.jsp. But it shows error
here is an as.jsp

Here is an try.jsp

AND here is an toplinks.jsp:


Error



Thanks in Advance
Regards
Harshal

[ August 02, 2008: Message edited by: Harshal Gurav ]
[ August 02, 2008: Message edited by: Harshal Gurav ]
 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is the session problem man? Just give a relevant subject. And try to use catch block for the code which shows the error.. It would be helpful...
 
Harshal Gurav
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Kindly refer the page toplinks.jsp where i am retrieving the value of groupid by using session.getAttribute() method. I think there may be problem as error showing numberformat Exception in that line .
Now i bold the line in first post where i am getting the error.
Is there another source for getting error?
Thanks and Regards
Harshal
[ August 02, 2008: Message edited by: Harshal Gurav ]
 
Rajkumar balakrishnan
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I ain't sure about that but why you put like this
Integer.parseInt("GROUPID");
Are you sure this is correct?
May try this..Integer.parseInt(GROUPID);
I think that would help you...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic