The SearchEnginesFrontEnd servlet shown above sends its data to the CustomizedSearchEngines servlet. Read the rest of this entry »
Customized SearchEngines.java
June 7, 2007
Leave a Comment » |
Cookie |
Permalink
Posted by Mohamed Ezeddin
SearchEngines FrontEnd.java
June 7, 2007This servlet builds the form-based front end to the search engine servlet. Read the rest of this entry »
Leave a Comment » |
Cookie |
Permalink
Posted by Mohamed Ezeddin
LongLivedCookie.java
June 7, 2007(Download source code)
Here’s a small class that you can use instead of Cookie Read the rest of this entry »
Leave a Comment » |
Cookie |
Permalink
Posted by Mohamed Ezeddin
Getting the Value of a Cookie with a Specified Name
June 7, 2007Here’s a section of ServletUtilities.java that slightly simplifies the retrieval of a cookie Read the rest of this entry »
Leave a Comment » |
Cookie |
Permalink
Posted by Mohamed Ezeddin
Reading Cookies from the Client
June 7, 2007To send cookies to the client, you created a Cookie then used addCookie to send a Set-Cookie HTTP response header Read the rest of this entry »
Leave a Comment » |
Cookie |
Permalink
Posted by Mohamed Ezeddin
Placing Cookies in the Response Headers
June 7, 2007The cookie is added to the Set-Cookie response header Read the rest of this entry »
Leave a Comment » |
Cookie |
Permalink
Posted by Mohamed Ezeddin
Reading and Specifying Cookie Attributes
June 7, 2007Before adding the cookie to the outgoing headers, you can look up or set attributes of the cookie. Here’s a summary: Read the rest of this entry »
Leave a Comment » |
Cookie |
Permalink
Posted by Mohamed Ezeddin
Creating Cookies
June 7, 2007A Cookie is created by calling the Cookie constructor, which takes two strings: Read the rest of this entry »
Leave a Comment » |
Cookie |
Permalink
Posted by Mohamed Ezeddin
The Servlet Cookie API
June 7, 2007To send cookies to the client, a servlet would create one or more cookies with the appropriate names and values via Read the rest of this entry »
Leave a Comment » |
Cookie |
Permalink
Posted by Mohamed Ezeddin
Overview of Cookies
June 7, 2007Cookies are small bits of textual information that a Web server sends to a browser and that the browser returns unchanged when visiting the same Web site or domain later. Read the rest of this entry »
2 Comments |
Cookie |
Permalink
Posted by Mohamed Ezeddin



