Hi all, I'm trying to delete a cookie using this : ........ <% String name1 = request.getParameter("cookieno"); Cookie delCookie = new Cookie(name1,null); delCookie.setMaxAge(0); response.addCookie(delCookie); %> ........... where name1 is the name of the cookie, this piece of code runs fine on Java Web Server, but when I use this on a Tomcat Server, I get a null pointer exception when I try to retrieve the cookies after I have executed the above code, any help?...or suggestions on where im going wrong thanks in anticipation, Sameer
- Re: creation of application wide object... Alex Fernández
- Re: creation of application wide ob... Matt Goss
- Re: creation of application wide objects Intergate
- Re: creation of application wide objects craig mcclanahan
- RE: creation of application wide objects David Rees
- Re: creation of application wide objects Alex Fernández
- Re: creation of application wide objects Peter Brandt-Erichsen
- Re: creation of application wide objects craig mcclanahan
- Re: creation of application wide objects Peter Brandt-Erichsen
- RE: creation of application wide objects Kitching Simon
- RE: creation of application wide objects Sameer
- RE: creation of application wide objects Alexander Telnikoff