Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Author

This is not my fault !!!!

Mahajan Bhupendra
Ranch Hand

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


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

Joined: Dec 01, 2000
Posts: 118
please help me
i m in need
Bhupendra
 
jQuery in Action, 2nd edition
 
subject: This is not my fault !!!!
 
Similar Threads
puzzle for everyone
Online Exam Problem!!!
Session tracking
Getting lazy initialization exception.
Session attr. thread safety