> From: alexis [mailto:alz...@gmail.com] > Subject: Re: custom class as resource
> LiveInfo li = (LiveInfo) sc.getAttribute("live"); > why im getting a null pointer on the sc.getAttribute line? Because you never created an attribute named "live" in the ServletContext. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org