This looks like a good candidate for standardized tags discussion.

> -----Original Message-----
> From: John Dixon [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, September 03, 1999 6:50 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Setting and Reading Cookies in JSP
>
>      <html>
>          <head>
>          </head>
>          <body>
>            <%
>            //adds a cookie
>            Cookie c = new Cookie("foo","foobar");
>            response.addCookie(c);
>
>            //gets the cookies
>            Cookie[] cookies = request.getCookies();
>            out.print("# of cookies found = " + cookies.length);
>            if (cookies != null)
>            {
>              for (int i = 0; i<cookies.length; i++)
>              {
>
>                  out.print("name: " + cookies[i].getName()+"<P>");
>                  out.print("value: " + cookies[i].getValue()+"<P>");
>              }
>            }
>            %>
>          </body>
>      </html>
>
>
>
> ______________________________ Reply Separator
> _________________________________
> Subject: Setting and Reading Cookies in JSP
> Author:  Mahesh Yadav <[EMAIL PROTECTED]> at Internet
> Date:    9/2/99 4:33 PM
>
>
>  Hai
>        All,
>
> Can some body tell me how to set & retrieve Cookies in JSP.
>
> iam using iis 4.0, Websphere Application Server 2.02 se as Servlet Plugin
> for
> iis web server.
>
> Thanks a lot in Advc
>
> Mahesh
>
>
>
>
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>
> ==========================================================================
> =
> 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
>
> ==========================================================================
> =
> 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

===========================================================================
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