aspose file tools*
The moose likes JSP and the fly likes Session management problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Session management problem" Watch "Session management problem" New topic
Author

Session management problem

Harshal Gurav
Ranch Hand

Joined: May 29, 2008
Posts: 151
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

Joined: May 29, 2008
Posts: 445

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...


Never try to be a hard-worker. Be a smart-worker.
My Blog
Harshal Gurav
Ranch Hand

Joined: May 29, 2008
Posts: 151
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

Joined: May 29, 2008
Posts: 445

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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Session management problem