|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Article Discussion: Saving Client State with Cookies and Java
Cookies serve as a facility for servers to send information to a client. This information is then housed on the client, from which the server can later retrieve the information. In this article, we will study the concept of saving client state with cookies using Java Servlets. I’ll walk you through an end to end example where you will store and retrieve data using cookies.
Read the full article here: Saving Client State with Cookies and Java |
|
#3
|
|||
|
|||
|
well-written. the code can be implemented in JSP.
__________________
Wedding Gifts | Web Development | Order Fulfllment | Supply Chain | E-Business | Add to 100 SEO Friendly Directories fast do it yourself |
|
#4
|
|||
|
|||
|
I read the part of the article discussing Java's "mixed type" system, and I have to disagree on a couple of points.
Rather than being an ideal compromise, Java's mixed type system is a kludge that's constantly getting in the programmer's way. If you don't want to treat simple types as full-fledged objects, then don't -- but don't force the programmer to keep the distinction in mind at all times. There's no good reason why Java's simple types couldn't 'act like' objects much more than they do. The recent addition of "autoboxing" is an example. Prior to that you had to wrap simple types in objects to store them in a container. It seems to me there should be no difference visible to the programmer. Then, for certain types, the compiler could determine when it's possible to substitute a simple type for an object, and do it behind the scenes. An index variable would be an obvious candidate. |
![]() |
| Viewing: Dev Shed Forums > Other > Development Articles > Article Discussion: Saving Client State with Cookies and Java |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|