hi, i'm trying to set a cookie with the help of Jsp page. I am getting an error when i call the get property(acookie). The code is as follows....... <%@ page import="anurag.Example1" session="true" %> <jsp:useBean id="abean" scope="session" class="anurag.Example1" /> <jsp:setProperty name="abean" property="*" /> ***html form**** <% if( request.getParameter("username") !=null){ %> <jsp:forward page="test2.jsp" /> <% } %> <%@ page import="anurag.Example1" session="true" %> <jsp:useBean id="abean" scope="session" class="anurag.Example1" /> ***html code****** <jsp:getProperty name="abean" property="username" /> <jsp:getProperty name="abean" property="acookie" /> Please help me out thanks in advance anurag ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets