Hi..

I have this code, but I don`t know why it isn`t adding the cookie in the
cookies file of the browser..

Can anybody help me, please??

-------------

<%@ page import =
"java.io.*,java.util.*,java.net.*,java.sql.*,javax.servlet.*,javax.servlet.h
ttp.*"%>

<%
Cookie book = new Cookie("TITLE", "teste");
String nome = book.getName();
System.out.print(nome);
response.addCookie(book);
%>
-------------

   Guilherme dos Santos Tsubota
   _________________________________
   Perrotti Informatica - PerConsult
   Sao Paulo - SP - Brazil

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to