I've noticed that when the session expires (I'm using a session bean),
either because the time expired or I reset the server, that I always get

a null pointer exception. I finally tracked it down, and was surprised
to find, that even though at the top of each page I call a method to
check for a live session, and reroute the user to a different page to
give them a new session, that the original JSP page continues to run,
producing a null pointer when it tries to access data from the session
bean (which now no longer exists).

Any ideas how I can get around this?



--
Brian N. Burridge
Lead Internet Analyst
Cox Target Media Corporate Web Sites
Internet Technology Services
(727) 399-3000 Ext 3515
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to