<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Interactive Soft &#187; Programming</title>
	<atom:link href="http://issite.wordpress.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://issite.wordpress.com</link>
	<description>انظمة معلومات - برامج - شبكات - تصميم مواقع -أجهزة وملحقات كمبيوتر</description>
	<lastBuildDate>Thu, 26 Jun 2008 16:52:40 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='issite.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/de0f8466acb95bfcc1cd11e4fa2facc2?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Interactive Soft &#187; Programming</title>
		<link>http://issite.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://issite.wordpress.com/osd.xml" title="Interactive Soft" />
		<item>
		<title>Visual Studio 2008</title>
		<link>http://issite.wordpress.com/2007/10/03/visual-studio-2008/</link>
		<comments>http://issite.wordpress.com/2007/10/03/visual-studio-2008/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 23:15:14 +0000</pubDate>
		<dc:creator>Mohamed Ezeddin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Soft Ware]]></category>
		<category><![CDATA[Visual Studio .NET]]></category>

		<guid isPermaLink="false">http://issite.wordpress.com/2007/10/03/visual-studio-2008/</guid>
		<description><![CDATA[The next version of Visual Studio, Microsoft® Visual Studio® 2008, will provide an industry-leading developer experience for Windows Vista, the 2007 Microsoft Office system, and the Web. In addition, it will continue in the Microsoft tradition of development language innovation.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=74&subd=issite&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The next version of Visual Studio, Microsoft® Visual Studio® 2008, will provide an industry-leading developer experience for Windows Vista, the 2007 Microsoft Office system, and the Web. In addition, it will continue in the Microsoft tradition of development language innovation.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/issite.wordpress.com/74/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/issite.wordpress.com/74/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/issite.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/issite.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/issite.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/issite.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/issite.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/issite.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/issite.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/issite.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/issite.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/issite.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=74&subd=issite&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://issite.wordpress.com/2007/10/03/visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7048021ab1e0ff7159a37886631c82d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mea6</media:title>
		</media:content>
	</item>
		<item>
		<title>Source Code Websites</title>
		<link>http://issite.wordpress.com/2007/06/15/source-code-websites/</link>
		<comments>http://issite.wordpress.com/2007/06/15/source-code-websites/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 02:00:24 +0000</pubDate>
		<dc:creator>Mohamed Ezeddin</dc:creator>
				<category><![CDATA[Source Code]]></category>

		<guid isPermaLink="false">http://issite.wordpress.com/2007/06/15/source-code-websites/</guid>
		<description><![CDATA[ Planet Source Code
http://abstractvb.com/code.asp?F=1
http://www.a1vbcode.com/


       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=70&subd=issite&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p> <font><a href="http://rds.yahoo.com/_ylt=A0geu8pCcR5G8RoA83VXNyoA;_ylu=X3oDMTE3Z29hdGRtBGNvbG8DZQRsA1dTMQRwb3MDMgRzZWMDc3IEdnRpZANGNjY2XzExNA--/SIG=11ku4aicv/EXP=1176486594/**http://www.planetsourcecode.com/" target="_blank" class="yschttl"><font color="#0000de">Planet <strong>Source</strong> <strong>Code</strong></font></a></font><a href="http://rds.yahoo.com/_ylt=A0geu8pCcR5G8RoA83VXNyoA;_ylu=X3oDMTE3Z29hdGRtBGNvbG8DZQRsA1dTMQRwb3MDMgRzZWMDc3IEdnRpZANGNjY2XzExNA--/SIG=11ku4aicv/EXP=1176486594/**http://www.planetsourcecode.com/" target="_blank" class="yschttl"><span id="more-70"></span></a></p>
<p><a href="http://abstractvb.com/code.asp?F=1" target="_blank">http://abstractvb.com/code.asp?F=1</a></p>
<p><a href="http://www.a1vbcode.com/" target="_blank">http://www.a1vbcode.com/</a></p>
<p><a href="http://rds.yahoo.com/_ylt=A0geu8pCcR5G8RoA83VXNyoA;_ylu=X3oDMTE3Z29hdGRtBGNvbG8DZQRsA1dTMQRwb3MDMgRzZWMDc3IEdnRpZANGNjY2XzExNA--/SIG=11ku4aicv/EXP=1176486594/**http://www.planetsourcecode.com/" target="_blank" class="yschttl"><font color="#0000de"><br />
</font></a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/issite.wordpress.com/70/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/issite.wordpress.com/70/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/issite.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/issite.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/issite.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/issite.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/issite.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/issite.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/issite.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/issite.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/issite.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/issite.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=70&subd=issite&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://issite.wordpress.com/2007/06/15/source-code-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7048021ab1e0ff7159a37886631c82d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mea6</media:title>
		</media:content>
	</item>
		<item>
		<title>Common Type System</title>
		<link>http://issite.wordpress.com/2007/06/14/common-type-system/</link>
		<comments>http://issite.wordpress.com/2007/06/14/common-type-system/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 22:55:25 +0000</pubDate>
		<dc:creator>Mohamed Ezeddin</dc:creator>
				<category><![CDATA[VB.Net Lectures]]></category>

		<guid isPermaLink="false">http://issite.wordpress.com/2007/06/14/common-type-system/</guid>
		<description><![CDATA[ 
The common type system defines how types are declared, used, and managed in the common language runtime. Each of the data types used in Visual Basic .NET correspond directly to a type defined in the common type system.
                 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=68&subd=issite&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p align="center"><strong> </strong></p>
<p align="left">The common type system defines how types are declared, used, and managed in the common language runtime.<span id="more-68"></span> Each of the data types used in Visual Basic .NET correspond directly to a type defined in the common type system.<a href="http://issite.wordpress.com/2007/06/14/common-type-system/common-type-system/" rel="attachment wp-att-69" title="Common Type System"><img src="http://issite.files.wordpress.com/2007/06/image001.jpg" alt="Common Type System" align="left" /></a></p>
<p align="center"><strong>                                                  </strong></p>
<p><strong> </strong></p>
<p><strong>A value-type variable </strong>directly contains its data. Each value-type variable has its own copy of data, so operations on one value-type variable cannot affect another variable.</p>
<p><strong>A reference-type variable </strong>contains a reference or pointer to the value of an object. Two reference-type variables can reference the same object, so operations on one reference-type variable can affect the object referenced by another reference-type variable.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/issite.wordpress.com/68/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/issite.wordpress.com/68/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/issite.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/issite.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/issite.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/issite.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/issite.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/issite.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/issite.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/issite.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/issite.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/issite.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=68&subd=issite&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://issite.wordpress.com/2007/06/14/common-type-system/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7048021ab1e0ff7159a37886631c82d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mea6</media:title>
		</media:content>

		<media:content url="http://issite.files.wordpress.com/2007/06/image001.jpg" medium="image">
			<media:title type="html">Common Type System</media:title>
		</media:content>
	</item>
		<item>
		<title>Customized SearchEngines.java</title>
		<link>http://issite.wordpress.com/2007/06/07/customizedsearchenginesjava/</link>
		<comments>http://issite.wordpress.com/2007/06/07/customizedsearchenginesjava/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 21:34:10 +0000</pubDate>
		<dc:creator>Mohamed Ezeddin</dc:creator>
				<category><![CDATA[Cookie]]></category>

		<guid isPermaLink="false">http://issite.wordpress.com/2007/06/07/customizedsearchenginesjava/</guid>
		<description><![CDATA[The SearchEnginesFrontEnd servlet  shown above sends its data to the CustomizedSearchEngines servlet.  In many respects, it is just like the SearchEngines servlet shown  in the section  on HTTP status codes. However, in addition to constructing a URL for a  search engine and sending a redirection response to the client, the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=58&subd=issite&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The <code>SearchEnginesFrontEnd</code> servlet  shown above sends its data to the <code>CustomizedSearchEngines</code> servlet.  <span id="more-58"></span>In many respects, it is just like the <code>SearchEngines</code> servlet shown  in the <a href="http://www.apl.jhu.edu/%7Ehall/java/Servlet-Tutorial/Servlet-Tutorial-Response-Status-Line.html">section  on HTTP status codes</a>. However, in addition to constructing a URL for a  search engine and sending a redirection response to the client, the servlet also  sends cookies recording the user data. These cookies will, in turn, be used by  the servlet building the front end to initialize the entries in the HTML forms.</p>
<pre>package hall;

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.net.*;

/** A varition of the SearchEngine servlet that uses
 *  cookies to remember users choices. These values
 *  are then used by the SearchEngineFrontEnd servlet
 *  to create the form-based front end with these
 *  choices preset.
 *
 *  Part of tutorial on servlets and JSP that appears at
 *  http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
 *  1999 Marty Hall; may be freely used or adapted.
 */

public class CustomizedSearchEngines extends HttpServlet {
  public void doGet(HttpServletRequest request,
                    HttpServletResponse response)
      throws ServletException, IOException {

    <strong>String searchString = request.getParameter("searchString");
    Cookie searchStringCookie =
      new LongLivedCookie("searchString", searchString);
    response.addCookie(searchStringCookie);
    searchString = URLEncoder.encode(searchString);
    String numResults = request.getParameter("numResults");
    Cookie numResultsCookie =
      new LongLivedCookie("numResults", numResults);
    response.addCookie(numResultsCookie);
    String searchEngine = request.getParameter("searchEngine");
    Cookie searchEngineCookie =
      new LongLivedCookie("searchEngine", searchEngine);
    response.addCookie(searchEngineCookie);</strong>
    SearchSpec[] commonSpecs = SearchSpec.getCommonSpecs();
    for(int i=0; i&lt;commonSpecs.length; i++) {
      SearchSpec searchSpec = commonSpecs[i];
      if (searchSpec.getName().equals(searchEngine)) {
        String url =
          searchSpec.makeURL(searchString, numResults);
        response.sendRedirect(url);
        return;
      }
    }
    response.sendError(response.SC_NOT_FOUND,
                       "No recognized search engine specified.");
  }

  public void doPost(HttpServletRequest request,
                     HttpServletResponse response)
      throws ServletException, IOException {
    doGet(request, response);
  }
}</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/issite.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/issite.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/issite.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/issite.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/issite.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/issite.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/issite.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/issite.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/issite.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/issite.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/issite.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/issite.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=58&subd=issite&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://issite.wordpress.com/2007/06/07/customizedsearchenginesjava/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7048021ab1e0ff7159a37886631c82d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mea6</media:title>
		</media:content>
	</item>
		<item>
		<title>SearchEngines FrontEnd.java</title>
		<link>http://issite.wordpress.com/2007/06/07/searchenginesfrontendjava/</link>
		<comments>http://issite.wordpress.com/2007/06/07/searchenginesfrontendjava/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 21:29:39 +0000</pubDate>
		<dc:creator>Mohamed Ezeddin</dc:creator>
				<category><![CDATA[Cookie]]></category>

		<guid isPermaLink="false">http://issite.wordpress.com/2007/06/07/searchenginesfrontendjava/</guid>
		<description><![CDATA[This servlet builds the form-based front end to  the search engine servlet. At first blush, the output looks just like the page  given by the static  HTML page presented in the section  on HTTP status codes. Here, however, selected values are remembered in  cookies (set by the CustomizedSearchEngines servlet that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=57&subd=issite&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This servlet builds the form-based front end to  the search engine servlet.<span id="more-57"></span> At first blush, the output looks just like the page  given by the <a href="http://www.apl.jhu.edu/%7Ehall/java/Servlet-Tutorial/hall/SearchEngines.html">static  HTML page</a> presented in the <a href="http://www.apl.jhu.edu/%7Ehall/java/Servlet-Tutorial/Servlet-Tutorial-Response-Status-Line.html">section  on HTTP status codes</a>. Here, however, selected values are remembered in  cookies (set by the <code>CustomizedSearchEngines</code> servlet that this page  sends data to), so if the user comes back to the same page at a later time (even  after quitting the browser and restarting), the page is initialized with the  values from the previous search.You can also <a href="http://www.apl.jhu.edu/%7Ehall/java/Servlet-Tutorial/hall/SearchEnginesFrontEnd.java">download  the source</a> or <a href="http://webdev.apl.jhu.edu/servlet/hall.SearchEnginesFrontEnd">try it  on-line</a>. Note that code uses <a href="http://www.apl.jhu.edu/%7Ehall/java/Servlet-Tutorial/hall/ServletUtilities.java">ServletUtilities.java</a>,  for the <code>getCookieValue</code> method (shown above) and for  <code>headWithTitle</code> for generating part of the HTML. It also uses the  <code>LongLivedCookie</code> class, shown above, for creating a  <code>Cookie</code> that automatically has a long-term expiration date.</p>
<pre>package hall;

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.net.*;

public class SearchEnginesFrontEnd extends HttpServlet {
  public void doGet(HttpServletRequest request,
                    HttpServletResponse response)
      throws ServletException, IOException {
    <strong>Cookie[] cookies = request.getCookies();
    String searchString =
      ServletUtilities.getCookieValue(cookies,
                                      "searchString",
                                      "Java Programming");
    String numResults =
      ServletUtilities.getCookieValue(cookies,
                                      "numResults",
                                      "10");
    String searchEngine =
      ServletUtilities.getCookieValue(cookies,
                                      "searchEngine",
                                      "google");</strong>
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String title = "Searching the Web";
    out.println(ServletUtilities.headWithTitle(title) +
                "&lt;BODY BGCOLOR=\"#FDF5E6\"&gt;n" +
                "&lt;H1 ALIGN=\"CENTER\"&gt;Searching the Web&lt;/H1&gt;n" +
                "n" +
                "&lt;FORM ACTION=\"/servlet/hall.CustomizedSearchEngines\"&gt;n" +
                "&lt;CENTER&gt;n" +
                "Search String:n" +
                "&lt;INPUT TYPE=\"TEXT\" NAME=\"searchString\"n" +
                "       VALUE=\"" + <strong>searchString</strong> + "\"&gt;&lt;BR&gt;n" +
                "Results to Show Per Page:n" +
                "&lt;INPUT TYPE=\"TEXT\" NAME=\"numResults\"n" +
                "       VALUE=" + <strong>numResults</strong> + " SIZE=3&gt;&lt;BR&gt;n" +
                "&lt;INPUT TYPE=\"RADIO\" NAME=\"searchEngine\"n" +
                "       VALUE=\"google\"" +
                <strong>checked("google", searchEngine)</strong> + "&gt;n" +
                "Google |n" +
                "&lt;INPUT TYPE=\"RADIO\" NAME=\"searchEngine\"n" +
                "       VALUE=\"infoseek\"" +
                <strong>checked("infoseek", searchEngine)</strong> + "&gt;n" +
                "Infoseek |n" +
                "&lt;INPUT TYPE=\"RADIO\" NAME=\"searchEngine\"n" +
                "       VALUE=\"lycos\"" +
                <strong>checked("lycos", searchEngine)</strong> + "&gt;n" +
                "Lycos |n" +
                "&lt;INPUT TYPE=\"RADIO\" NAME=\"searchEngine\"n" +
                "       VALUE=\"hotbot\"" +
                <strong>checked("hotbot", searchEngine)</strong> + "&gt;n" +
                "HotBotn" +
                "&lt;BR&gt;n" +
                "&lt;INPUT TYPE=\"SUBMIT\" VALUE=\"Search\"&gt;n" +
                "&lt;/CENTER&gt;n" +
                "&lt;/FORM&gt;n" +
                "n" +
                "&lt;/BODY&gt;n" +
                "&lt;/HTML&gt;n");
  }

  private String checked(String name1, String name2) {
    if (name1.equals(name2))
      return(" CHECKED");
    else
      return("");
  }
}</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/issite.wordpress.com/57/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/issite.wordpress.com/57/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/issite.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/issite.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/issite.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/issite.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/issite.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/issite.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/issite.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/issite.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/issite.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/issite.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=57&subd=issite&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://issite.wordpress.com/2007/06/07/searchenginesfrontendjava/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7048021ab1e0ff7159a37886631c82d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mea6</media:title>
		</media:content>
	</item>
		<item>
		<title>LongLivedCookie.java</title>
		<link>http://issite.wordpress.com/2007/06/07/longlivedcookiejava/</link>
		<comments>http://issite.wordpress.com/2007/06/07/longlivedcookiejava/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 21:28:44 +0000</pubDate>
		<dc:creator>Mohamed Ezeddin</dc:creator>
				<category><![CDATA[Cookie]]></category>

		<guid isPermaLink="false">http://issite.wordpress.com/2007/06/07/longlivedcookiejava/</guid>
		<description><![CDATA[ (Download source  code)
Here&#8217;s a small class that you can use instead of  Cookie if you want your cookie to automatically persist when the  client quits the browser.
package hall;

import javax.servlet.http.*;

public class LongLivedCookie extends Cookie {
  public static final int SECONDS_PER_YEAR = 60*60*24*365;

  public LongLivedCookie(String name, String value) {
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=56&subd=issite&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3> (Download <a href="http://www.apl.jhu.edu/%7Ehall/java/Servlet-Tutorial/hall/LongLivedCookie.java">source  code</a>)</h3>
<p>Here&#8217;s a small class that you can use instead of  <code>Cookie</code> <span id="more-56"></span>if you want your cookie to automatically persist when the  client quits the browser.</p>
<pre>package hall;

import javax.servlet.http.*;

public class LongLivedCookie extends Cookie {
  public static final int SECONDS_PER_YEAR = 60*60*24*365;

  public LongLivedCookie(String name, String value) {
    super(name, value);
    <strong>setMaxAge(SECONDS_PER_YEAR);</strong>
  }
}</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/issite.wordpress.com/56/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/issite.wordpress.com/56/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/issite.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/issite.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/issite.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/issite.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/issite.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/issite.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/issite.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/issite.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/issite.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/issite.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=56&subd=issite&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://issite.wordpress.com/2007/06/07/longlivedcookiejava/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7048021ab1e0ff7159a37886631c82d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mea6</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting the Value of a Cookie with a Specified Name</title>
		<link>http://issite.wordpress.com/2007/06/07/getting-the-value-of-a-cookie-with-a-specified-name/</link>
		<comments>http://issite.wordpress.com/2007/06/07/getting-the-value-of-a-cookie-with-a-specified-name/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 21:27:30 +0000</pubDate>
		<dc:creator>Mohamed Ezeddin</dc:creator>
				<category><![CDATA[Cookie]]></category>

		<guid isPermaLink="false">http://issite.wordpress.com/2007/06/07/getting-the-value-of-a-cookie-with-a-specified-name/</guid>
		<description><![CDATA[Here&#8217;s a section of ServletUtilities.java  that slightly simplifies the retrieval of a cookie value given a cookie name by  looping through the array of available Cookie objects, returning  the value of any Cookie whose name matches the input. If there is  no match, the designated default value is returned.
  public [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=55&subd=issite&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here&#8217;s a section of <a href="http://www.apl.jhu.edu/%7Ehall/java/Servlet-Tutorial/hall/ServletUtilities.java">ServletUtilities.java</a>  that slightly simplifies the retrieval of a cookie<span id="more-55"></span> value given a cookie name by  looping through the array of available <code>Cookie</code> objects, returning  the value of any <code>Cookie</code> whose name matches the input. If there is  no match, the designated default value is returned.</p>
<pre>  public static String getCookieValue(Cookie[] cookies,
                                      String cookieName,
                                      String defaultValue) {
    for(int i=0; i&lt;cookies.length; i++) {
      Cookie cookie = cookies[i];
      if (cookieName.equals(cookie.getName()))
        return(cookie.getValue());
    }
    return(defaultValue);
  }</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/issite.wordpress.com/55/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/issite.wordpress.com/55/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/issite.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/issite.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/issite.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/issite.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/issite.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/issite.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/issite.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/issite.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/issite.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/issite.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=55&subd=issite&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://issite.wordpress.com/2007/06/07/getting-the-value-of-a-cookie-with-a-specified-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7048021ab1e0ff7159a37886631c82d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mea6</media:title>
		</media:content>
	</item>
		<item>
		<title>Reading Cookies from the Client</title>
		<link>http://issite.wordpress.com/2007/06/07/reading-cookies-from-the-client/</link>
		<comments>http://issite.wordpress.com/2007/06/07/reading-cookies-from-the-client/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 21:26:21 +0000</pubDate>
		<dc:creator>Mohamed Ezeddin</dc:creator>
				<category><![CDATA[Cookie]]></category>

		<guid isPermaLink="false">http://issite.wordpress.com/2007/06/07/reading-cookies-from-the-client/</guid>
		<description><![CDATA[To send cookies to the client, you created a  Cookie then used addCookie to send a  Set-Cookie HTTP response header. This was discussed above in  section 2.1. To read the cookies that come back from the client, you call  getCookies on the HttpServletRequest. This returns an  array of Cookie objects [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=54&subd=issite&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To send cookies to the client, you created a  <code>Cookie</code> then used <code>addCookie</code> to send a  <code>Set-Cookie</code> HTTP response header<span id="more-54"></span>. This was discussed above in  section 2.1. To read the cookies that come back from the client, you call  <code>getCookies</code> on the <code>HttpServletRequest</code>. This returns an  array of <code>Coo</code>kie objects corresponding to the values that came in on  the <code>Cookie</code> HTTP request header. Once you have this array, you  typically loop down it, calling <code>getName</code> on each <code>Cookie</code>  until you find one matching the name you have in mind. You then call  <code>getValue</code> on the matching Cookie, doing some processing specific to  the resultant value. This is such a common process that the following section  presents a simple <code>getCookieValue</code> method that, given the array of  cookies, a name, and a default value, returns the value of the cookie matching  the name, or, if there is no such cookie, the designated default value.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/issite.wordpress.com/54/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/issite.wordpress.com/54/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/issite.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/issite.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/issite.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/issite.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/issite.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/issite.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/issite.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/issite.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/issite.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/issite.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=54&subd=issite&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://issite.wordpress.com/2007/06/07/reading-cookies-from-the-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7048021ab1e0ff7159a37886631c82d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mea6</media:title>
		</media:content>
	</item>
		<item>
		<title>Placing Cookies in the Response Headers</title>
		<link>http://issite.wordpress.com/2007/06/07/placing-cookies-in-the-response-headers/</link>
		<comments>http://issite.wordpress.com/2007/06/07/placing-cookies-in-the-response-headers/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 21:25:32 +0000</pubDate>
		<dc:creator>Mohamed Ezeddin</dc:creator>
				<category><![CDATA[Cookie]]></category>

		<guid isPermaLink="false">http://issite.wordpress.com/2007/06/07/placing-cookies-in-the-response-headers/</guid>
		<description><![CDATA[The cookie is added to the  Set-Cookie response header by means of the addCookie  method of HttpServletResponse. Here&#8217;s an example:
  Cookie userCookie = new Cookie("user", "uid1234");
  response.addCookie(userCookie);
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=53&subd=issite&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The cookie is added to the  <code>Set-Cookie</code> response header<span id="more-53"></span> by means of the <code>addCookie</code>  method of <code>HttpServletResponse</code>. Here&#8217;s an example:</p>
<pre>  Cookie userCookie = new Cookie("user", "uid1234");
  response.addCookie(userCookie);</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/issite.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/issite.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/issite.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/issite.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/issite.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/issite.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/issite.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/issite.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/issite.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/issite.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/issite.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/issite.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=53&subd=issite&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://issite.wordpress.com/2007/06/07/placing-cookies-in-the-response-headers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7048021ab1e0ff7159a37886631c82d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mea6</media:title>
		</media:content>
	</item>
		<item>
		<title>Reading and Specifying Cookie Attributes</title>
		<link>http://issite.wordpress.com/2007/06/07/22-reading-and-specifying-cookie-attributes/</link>
		<comments>http://issite.wordpress.com/2007/06/07/22-reading-and-specifying-cookie-attributes/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 21:14:50 +0000</pubDate>
		<dc:creator>Mohamed Ezeddin</dc:creator>
				<category><![CDATA[Cookie]]></category>

		<guid isPermaLink="false">http://issite.wordpress.com/2007/06/07/22-reading-and-specifying-cookie-attributes/</guid>
		<description><![CDATA[ Before adding the cookie to the outgoing headers, you can look up or set attributes of the cookie. Here&#8217;s a summary:

getComment/setComment  
Gets/sets a comment associated with this cookie.  
getDomain/setDomain  
Gets/sets the domain to which cookie applies. Normally, cookies are returned  only to the exact hostname that sent them. You can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=52&subd=issite&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p> Before adding the cookie to the outgoing headers, you can look up or set attributes of the cookie. Here&#8217;s a summary:<span id="more-52"></span></p>
<dl>
<dt>getComment/setComment  </dt>
<dd>Gets/sets a comment associated with this cookie.  </dd>
<dt>getDomain/setDomain  </dt>
<dd>Gets/sets the domain to which cookie applies. Normally, cookies are returned  only to the exact hostname that sent them. You can use this method to instruct  the browser to return them to other hosts within the same domain. Note that the  domain should start with a dot (e.g. .<code>prenhall.com</code>), and must  contain two dots for non-country domains like <code>.com</code>,  <code>.edu</code>, and <code>.gov</code>, and three dots for country domains  like <code>.co.uk</code> and <code>.edu.es</code>.  </dd>
<dt>getMaxAge/setMaxAge  </dt>
<dd>Gets/sets how much time (in seconds) should elapse before the cookie  expires. If you don&#8217;t set this, the cookie will last only for the current  session (i.e. until the user quits the browser), and will not be stored on disk.  See the <code>LongLivedCookie</code> class below, which defines a subclass of  <code>Cookie</code> with a maximum age automatically set one year in the future.   </dd>
<dt>getName/setName  </dt>
<dd>Gets/sets the name of the cookie. The name and the value are the two pieces  you virtually always care about. Since the <code>getCookies</code> method of  <code>HttpServletRequest</code> returns an array of <code>Cookie</code> objects,  it is common to loop down this array until you have a particular name, then  check the value with getValue. See the <code>getCookieValue</code> method shown  below.  </dd>
<dt>getPath/setPath  </dt>
<dd>Gets/sets the path to which this cookie applies. If you don&#8217;t specify a  path, the cookie is returned for all URLs in the same directory as the current  page as well as all subdirectories. This method can be used to specify something  more general. For example, <code>someCookie.setPath("/")</code> specifies that  all pages on the server should receive the cookie. Note that the path specified  must include the current directory.  </dd>
<dt>getSecure/setSecure  </dt>
<dd>Gets/sets the <code>boolean</code> value indicating whether the cookie  should only be sent over encrypted (i.e. SSL) connections.  </dd>
<dt>getValue/setValue  </dt>
<dd>Gets/sets the value associated with the cookie. Again, the name and the  value are the two parts of a cookie that you almost always care about, although  in a few cases a name is used as a boolean flag, and its value is ignored (i.e  the existence of the name means true).  </dd>
<dt>getVersion/setVersion  </dt>
<dd>Gets/sets the cookie protocol version this cookie complies with. Version 0,  the default, adheres to the original Netscape specification. Version 1, not yet  widely supported, adheres to <a href="ftp://ftp.isi.edu/in-notes/rfc2109.txt">RFC 2109</a></dd>
</dl>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/issite.wordpress.com/52/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/issite.wordpress.com/52/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/issite.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/issite.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/issite.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/issite.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/issite.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/issite.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/issite.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/issite.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/issite.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/issite.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=issite.wordpress.com&blog=491883&post=52&subd=issite&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://issite.wordpress.com/2007/06/07/22-reading-and-specifying-cookie-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7048021ab1e0ff7159a37886631c82d4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mea6</media:title>
		</media:content>
	</item>
	</channel>
</rss>