Hi, I've built a whole site in .jsp where I use sessions everywhere, but the day after the opening I noticed that the log file was filled with NullPointerExceptions, this came from the fact that many visitors don't allow cookies, and since Jsp's doesn't support session tracking by Url-rewriting the getSession call returned null and when accessing the session object the NullPointerException was thrown and the processing stopped, wich means that the visitor didn't see anything. I got around this by putting try/catch clauses on every page and making the catch set the variables to default values, but this is not really a good solution since that makes the extra functionallity the sessions added worthless and also using try/catch clauses in .jsp's isn't really what the html designers prefer. is there a better solution or is this the way it's supposed to be ? -Henric [[EMAIL PROTECTED] | nation wide digital media ab | www.nation.se] =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JSP-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
