• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 184
  • Last Modified:

Simple question about cookie and Java 1.4

I know how to do it in ASP and Javascript, but I am a complete novice when it comes to Java.

Can you write a program in Java (or Java applet if it is not possible in Java) that would write values, expires, domain, path, secure properties to a few cookies, and read the cookies?

If it is not feasible to have many cookies in Java or Java applet, just show me how to make one and read it.



Thanks in advance.
0
yes4me
Asked:
yes4me
  • 4
  • 3
1 Solution
 
objectsCommented:
0
 
yes4meAuthor Commented:
If I understand corectly, sevlet is the only way for a Java application. What about Java applet?
0
 
manshanCommented:
U can use cookies with java servlets.

check the below sites for more info...

www.jguru.com
java.sun.com/servlets
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
objectsCommented:
manshan,

Thats an original comment.
0
 
objectsCommented:
Your applet can get/set cookies values from the http headers.

This site may also help you:

http://www.cookiecentral.com/faq/
0
 
objectsCommented:
Did you need any more information?
0
 
yes4meAuthor Commented:
Please give me a little more time to invest. I will give you the points as soon as I am done.
0
 
yes4meAuthor Commented:
Thanks you.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now