Sriram N wrote:
>
> Integer itemcount = (Integer) session.getValue("itemcount");
>
> If this object is null, it will throw a NullPointerException
> when you try to type cast it to an Integer.
>No, it won't. -- Christopher St. John [EMAIL PROTECTED] DistribuTopia http://www.distributopia.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
