my dog learned polymorphism
The moose likes Servlets and the fly likes This is not my fault !!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "This is not my fault !!!!" Watch "This is not my fault !!!!" New topic

This is not my fault !!!!

Mahajan Bhupendra
Ranch Hand

Joined: Dec 01, 2000
Posts: 118
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...

<B>Bhupendra Mahajan</B>
Mahajan Bhupendra
Ranch Hand

Joined: Dec 01, 2000
Posts: 118
please help me
i m in need
I agree. Here's the link:
subject: This is not my fault !!!!
It's not a secret anymore!