• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

puzzle for everyone

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
From last few weeks i working on online exam problem..
rest of the things are all ok..
but i m sufferring with a big problem..
i m creating a session for each user and it's working fine..
At the end i invalidating a session for that user and i m
inserting his marks into database...
upto this is very fine..
next time when i again start the exam the first question is
always the old one and if i click on next question (Without
refreshing )i get NullPointerException prbably because of
the previous exam object has been invalidated.
i m creating Exam object in doGet method ..
and further processing is in
but at the first question if i refreshed program works smoothly
so i think this might be a problem of cache memory ..
can anybody please help me???
i m using resin server...
Bhupendra
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Pl. do not post your question more that once.
Your earlier post din't get any responses, because,
IMO its too specific could you re-phrase it and post
in the same thread.
Also, If I could suggest one more thing, please use
appropriate subjects something like "NullPointer Exception
using Resin". This way anyone who knows Resin will definetly
look at your post and have some suggestions. I agree that
its a little dis-heartning when no one replies.
But then we should try our best.
We appreciate your cooperation.
Thanks.
- satya
 
reply
    Bookmark Topic Watch Topic
  • New Topic