Hi,
When I make a cookie and then display it's value, I see something like:
Cookie Name : jwssessionid
Cookie Value : J1JFRBQAAAABZQDEMQAQAAA
even though I entered a name=varun and value=007. The cookie.length shows me
"1".
Now when I enter another name and value then I am shown the value that I had
entered the first time:
Cookie Name : varun
Cookie Value : 007
Cookie Name : jwssessionid
Cookie Value : J1JFRBQAAAABZQDEMQAQAAA
Why is this happenning?
Thank is advance.
Regards,
Varun Suri
----- Original Message -----
From: "Marcel van Kooy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 08, 2000 3:41 PM
Subject: Re: Send Mail Example
> Hi all,
> Does anyone know how you can send mail to two or more users??
> In the following code only one email address is mentioned.
>
> Thanx
>
> Regards,
> Marcel van Kooy
>
> > -----Oorspronkelijk bericht-----
> > Van: Marin Velikov [SMTP:[EMAIL PROTECTED]]
> > Verzonden: dinsdag 14 november 2000 9:14
> > Aan: [EMAIL PROTECTED]
> > Onderwerp: Re: Send Mail Example
> >
> > Sorry
> >
> > Please replace:
> >
> > URL u = new URL("mailto:" + email); // Create a mailto: URL
> >
> > with:
> >
> > URL u = new URL("mailto:" + ToEmailAddr); // Create a mailto: URL
> >
> > Marin.
> >
> >
> > ----- Original Message -----
> > From: "Tripat Singh" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, November 14, 2000 8:53 AM
> > Subject: Re: Send Mail Example
> >
> >
> > > Please specify what does email stands for in
> > >
> > > URL u = new URL("mailto:" + email); // Create a mailto: URL
> > >
> > > regards
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Marin Velikov" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, November 13, 2000 10:33 PM
> > > Subject: Re: Send Mail Example
> > >
> > >
> > > > HI
> > > >
> > > > // Code start here:
> > > > String FromEmailAddr="[EMAIL PROTECTED];
> > > > String ToEmailAddr="[EMAIL PROTECTED]";
> > > >
> > > > String[] emailMessage = new String[3];
> > > > emailMessage[0] = "Subject:blabla ";
> > > > emailMessage[1] = "Bla bla";
> > > > emailMessage[2] = "Bla bla";
> > > >
> > > > URL u = new URL("mailto:" + email); // Create a mailto: URL
> > > > URLConnection c = u.openConnection(); // Create a URLConnection
> > for it
> > > >
> > > > c.setDoInput(false); // Specify no input from
> > this URL
> > > > c.setDoOutput(true); // Specify we'll do output
> > > > c.connect(); // Connect to mail host
> > > > PrintWriter outmail = // Get output stream to mail
> > host
> > > > new PrintWriter(new
> > OutputStreamWriter(c.getOutputStream()));
> > > >
> > > > // Write out mail headers. Don't let users fake the From address
> > > > outmail.println("From: " + FromEmailAddr); // from email
> > > > outmail.println("To: " + ToEmailAddr);
> > > > outmail.println(emailMessage[0]); // Subject
> > > > outmail.println(); // blank line to end the list of headers
> > > >
> > > > outmail.println(emailMessage[1]); // 1 row
> > > > outmail.println(emailMessage[2]); // 2 row
> > > >
> > > > // Close the stream to terminate the message
> > > > outmail.close();
> > > >
> > > > // Code end Here.
> > > >
> > > > That's work.
> > > > Marin
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Antonio W. Lagnada" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Monday, November 13, 2000 6:17 PM
> > > > Subject: Send Mail Example
> > > >
> > > >
> > > > > Hello All,
> > > > >
> > > > > Does anyone have a simple example on how send an email for in
> > JSP or
> > > > > Servlet?
> > > > >
> > > > > Any help would be appreciated.
> > > > > Thanks
> > > > >
> > > > > --
> > > > > Antonio W. Lagnada
> > > > > Ecommerce Consultant
> > > > > [EMAIL PROTECTED]
> > > > >
> > > > > This email address is specifically
> > > > > for JSP-Interest email list.
> > > > > Remove _NOSPAM for the actual email.
> > > > >
> > > > >
> > > > >
> > > > >
> > ___________________________________________________________________
> > > > > To get your own FREE ZDNet Onebox - FREE voicemail, email, and
> > fax,
> > > > > all in one place - sign up today at http://www.zdnetonebox.com
> > > > >
> > > > >
> > > >
> > >
> > ======================================================================
> > =====
> > > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > > JSP-INTEREST".
> > > > > 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
> > > > >
> > > >
> > > >
> > >
> > ======================================================================
> > =====
> > > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > > 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
> > > >
> > >
> > >
> > ======================================================================
> > =====
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > > 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
> > >
> >
> > ======================================================================
> > =====
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > 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
>
>
===========================================================================
> 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
>
===========================================================================
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