|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
how to do maintain cookies in servlets?
|
|
#2
|
|||
|
|||
|
class javax.servlet.http.HttpServletResponse has a method addCookie, which takes a Cookie object as it's argument (javax.servlet.http.Cookie). The Cookie constructor takes two Strings as arguments, which are the cookie's name and value, respectively. You can call addCookie multiple times to add multiple cookies.
Success, Ton |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > cookies |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|