• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Session management problem

 
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 445
Android Eclipse IDE Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic