<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DUQHQnw7eSp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032</id><updated>2011-11-27T15:42:13.201-08:00</updated><category term="get radio button values" /><category term="Active and passive resources" /><category term="SCWCD" /><category term="Parametrs and Attributes" /><category term="Idempotent methods" /><category term="getServletConfig()" /><category term="Differences between GET and POST" /><category term="JSP" /><category term="What does getServletConfig() method do?" /><category term="What is a web application?" /><category term="Difference between HEAD and GET" /><category term="GenericServlet" /><category term="Context root path" /><category term="c:import" /><category term="standard action" /><category term="servlets or JSP" /><category term="sun certified web component developer" /><category term="classic tags" /><category term="Custom Tags" /><category term="include directive" /><category term="Tomcat" /><category term="Tag Files" /><category term="difference between simple and classic tags" /><category term="usebean" /><category term="include standard action" /><category term="container" /><category term="HTTPServlet" /><category term="servlets" /><category term="session API" /><category term="service methods in HTTPServlet class" /><category term="getParameter and getAttribute method return" /><category term="session" /><category term="When is GET and POST used" /><category term="Why is GenericServlet class abstract?" /><category term="path info" /><category term="servlet" /><category term="jsp:include" /><category term="Why getParameter methods in ServletRequest and headers in HttpServletRequest" /><category term="servlet path" /><category term="simple tags" /><category term="What does getHeader" /><category term="Design Patterns" /><category term="HTTP methods" /><category term="SCWCD books" /><category term="usebean standard action" /><title>Crack SCWCD</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://crackscwcd.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/CrackScwcd" /><feedburner:info uri="crackscwcd" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CE4NRXgyfSp7ImA9WxVTFk8.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-1300509327891588679</id><published>2008-12-29T23:41:00.000-08:00</published><updated>2008-12-29T23:43:14.695-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-29T23:43:14.695-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD books" /><title>SCWCD books</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/1300509327891588679/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=1300509327891588679" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/1300509327891588679?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/1300509327891588679?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/7_PdKgp3vwk/scwcd-books.html" title="SCWCD books" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><content type="html">Books for SCWCD Exam1)Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam (SCWCD)2) SCWCD Exam study kit by Deshmukh (Manning Publications)3)Sun Certified Web Component Developer Study Guide 4)Professional SCWCD Certification 1 and 2 are sufficient for clearing the SCWCD exam
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ei9wLmWAWHPuXznc3HKRBgcVgJw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ei9wLmWAWHPuXznc3HKRBgcVgJw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ei9wLmWAWHPuXznc3HKRBgcVgJw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ei9wLmWAWHPuXznc3HKRBgcVgJw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/7_PdKgp3vwk" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/12/scwcd-books.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE4MQH86fip7ImA9WxVTFUk.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-4986526994403148855</id><published>2008-12-29T02:18:00.001-08:00</published><updated>2008-12-29T02:36:21.116-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-29T02:36:21.116-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="get radio button values" /><title>How to get radio button value in JSP?</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/4986526994403148855/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=4986526994403148855" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/4986526994403148855?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/4986526994403148855?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/uFWINUkG-Aw/how-to-get-radio-button-value-in-jsp.html" title="How to get radio button value in JSP?" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_2BglUQm2ZIA/SVinW-MeXtI/AAAAAAAAAD4/cWz1fswi3U0/s72-c/untitled.JPG" height="72" width="72" /><thr:total>0</thr:total><content type="html">Usually we have a group of radio button which means that multiple radio buttons are present with the same name e.g.Somewhat related question may appear in the SCWCD exam asking for the correct code to retrieve values.This will be done as:request.getParameterValues() which returns an array of radio buttons against the name "t1". The array is String array and the code to display all the values is:
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/f4L7xQ1ie4eRs9S_B90LqEahnV0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/f4L7xQ1ie4eRs9S_B90LqEahnV0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/f4L7xQ1ie4eRs9S_B90LqEahnV0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/f4L7xQ1ie4eRs9S_B90LqEahnV0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/uFWINUkG-Aw" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/12/how-to-get-radio-button-value-in-jsp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AHQ38zcSp7ImA9WxRaFEU.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-4272629387528585420</id><published>2008-12-16T19:38:00.000-08:00</published><updated>2008-12-16T19:48:52.189-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-16T19:48:52.189-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="standard action" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="usebean standard action" /><category scheme="http://www.blogger.com/atom/ns#" term="usebean" /><title>what is usebean standard action</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/4272629387528585420/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=4272629387528585420" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/4272629387528585420?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/4272629387528585420?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/lYh4Ws3Wogo/what-is-usebean-standard-action.html" title="what is usebean standard action" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_2BglUQm2ZIA/SUh0yHzEkUI/AAAAAAAAADQ/5M4ppNEvm04/s72-c/useBean.JPG" height="72" width="72" /><thr:total>0</thr:total><content type="html">The SCWCD exam will definitely contain questions on jsp:useBean and its various attributes. So it is better to have a good hand at this standard action.When coding a JSP document (a JSP in XML format), the use of jsp:useBean becomes inevitable to create and use beans. For creating a bean, one has to use the jsp:usebean tag in the following formatwhich is equivalent tocom.test.TestClass test = new
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qrYIMasMQ6pMZMlRdMdKzPYuXkU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qrYIMasMQ6pMZMlRdMdKzPYuXkU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qrYIMasMQ6pMZMlRdMdKzPYuXkU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qrYIMasMQ6pMZMlRdMdKzPYuXkU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/lYh4Ws3Wogo" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/12/what-is-usebean-standard-action.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU8BQX8-eSp7ImA9WxRaFEk.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-154382794467062289</id><published>2008-12-16T08:09:00.000-08:00</published><updated>2008-12-16T08:10:50.151-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-16T08:10:50.151-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="sun certified web component developer" /><category scheme="http://www.blogger.com/atom/ns#" term="session API" /><category scheme="http://www.blogger.com/atom/ns#" term="session" /><title>sessions for SCWCD exam</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/154382794467062289/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=154382794467062289" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/154382794467062289?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/154382794467062289?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/s5rk8JJUjCY/sessions-for-scwcd-exam.html" title="sessions for SCWCD exam" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><content type="html">The purpose of  this article is to include everything that can appear in the Sun Certified Web Component Developer (SCWCD) about sessions. Just read every line carefully and any question in SCWCD exam will  be a cakewalk for you.The sessions are managed by a web server by using the session API of J2EE. The session concept is about recognizing the user. A user who has just logged in should not be 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cDBC5zADks1_lluKoWlEOac7kcM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cDBC5zADks1_lluKoWlEOac7kcM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cDBC5zADks1_lluKoWlEOac7kcM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cDBC5zADks1_lluKoWlEOac7kcM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/s5rk8JJUjCY" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/12/sessions-for-scwcd-exam.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcMSXo_cCp7ImA9WxRaEk8.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-679854538737460303</id><published>2008-12-13T19:34:00.000-08:00</published><updated>2008-12-13T19:41:28.448-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-13T19:41:28.448-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><category scheme="http://www.blogger.com/atom/ns#" term="Context root path" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet path" /><category scheme="http://www.blogger.com/atom/ns#" term="path info" /><title>Context root path, servlet path and path info</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/679854538737460303/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=679854538737460303" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/679854538737460303?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/679854538737460303?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/2RFWbwmpsbY/context-root-path-servlet-path-and-path.html" title="Context root path, servlet path and path info" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_2BglUQm2ZIA/SUSAHBmHU1I/AAAAAAAAAC8/qZ7K7gsx0Zo/s72-c/context+path.bmp" height="72" width="72" /><thr:total>1</thr:total><content type="html">Let us understand context root path, resource path/ servlet path and path info:The root directory within the webapps directory (of servlet container) is known as the root directory of the web application. This directory also contains WEB-INF directory which contains class and library files. Every servlet request must contain the name of this directory and is known as context root path.The 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SfxJsEFhGHru610nYGcgq2fhCpQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SfxJsEFhGHru610nYGcgq2fhCpQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SfxJsEFhGHru610nYGcgq2fhCpQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SfxJsEFhGHru610nYGcgq2fhCpQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/2RFWbwmpsbY" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/12/context-root-path-servlet-path-and-path.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcNSXY7eCp7ImA9WxRbF0g.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-8673071491372041498</id><published>2008-12-08T07:26:00.000-08:00</published><updated>2008-12-08T07:28:18.800-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-12-08T07:28:18.800-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="JSP" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="session" /><category scheme="http://www.blogger.com/atom/ns#" term="servlets" /><title>session attributes</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/8673071491372041498/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=8673071491372041498" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/8673071491372041498?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/8673071491372041498?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/RpIz3dTCdiw/session-attributes.html" title="session attributes" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">The session object in Servlet and JSP model can be used to store objects which are needed till  the time a user is logged in to the web application. As you may be aware that the time a user is using a web application (technically logged in) is known as the session. The objects that are stored programmatically to a session are known as session attributes. A session attribute can be any object 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2ghCvfsngfzwubayyzm4n4VRdTw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2ghCvfsngfzwubayyzm4n4VRdTw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2ghCvfsngfzwubayyzm4n4VRdTw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2ghCvfsngfzwubayyzm4n4VRdTw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/RpIz3dTCdiw" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/12/session-attributes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAGRHo8eCp7ImA9WxRUEUQ.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-3337547837763802964</id><published>2008-11-20T08:31:00.000-08:00</published><updated>2008-11-20T08:32:05.470-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-20T08:32:05.470-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="include standard action" /><category scheme="http://www.blogger.com/atom/ns#" term="include directive" /><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat" /><title>include directive vs include standard action</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/3337547837763802964/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=3337547837763802964" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/3337547837763802964?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/3337547837763802964?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/VayP7i2S-fI/include-directive-vs-include-standard.html" title="include directive vs include standard action" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">The include directive is used to include the contest of a file statically whichc means the whole contents of another file will be included  in the current file and then the current file will be compiled as a single unit.This is different from what happens in case of jsp:include standard action or c:import. In both cases, when a request from the client comes to the including page, the included 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YrGyyPw8Dq7FBQgShqBVhTwF3BY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YrGyyPw8Dq7FBQgShqBVhTwF3BY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YrGyyPw8Dq7FBQgShqBVhTwF3BY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YrGyyPw8Dq7FBQgShqBVhTwF3BY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/VayP7i2S-fI" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/11/include-directive-vs-include-standard.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUGQ3g9cCp7ImA9WxRUEUU.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-7100280550164924516</id><published>2008-11-20T04:56:00.000-08:00</published><updated>2008-11-20T05:03:42.668-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-20T05:03:42.668-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="jsp:include" /><category scheme="http://www.blogger.com/atom/ns#" term="c:import" /><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat" /><title>jsp:include vs c:import</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/7100280550164924516/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=7100280550164924516" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/7100280550164924516?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/7100280550164924516?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/OUUq_37PQhI/jspinclude-vs-cimport.html" title="jsp:include vs c:import" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_2BglUQm2ZIA/SSVgAVA-eKI/AAAAAAAAAC0/B865to95uVA/s72-c/untitled.JPG" height="72" width="72" /><thr:total>0</thr:total><content type="html">jsp:include and c:import both are used to include the contents of a file dynamically which means that container includes the output of files after evaluating them. Parameters can be passed in both the cases using jsp:param as shown below:As can be seen above, the first difference is the name of attribute used to specify the included file. The other subtle difference is that c:import can refer to 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UI-5kTsntKsKX60-J2nOiNMRk7E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UI-5kTsntKsKX60-J2nOiNMRk7E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UI-5kTsntKsKX60-J2nOiNMRk7E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UI-5kTsntKsKX60-J2nOiNMRk7E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/OUUq_37PQhI" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/11/jspinclude-vs-cimport.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUMNRHg7eSp7ImA9WxVRFkQ.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-1572899616350155347</id><published>2008-11-19T06:02:00.000-08:00</published><updated>2009-01-22T23:58:15.601-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-01-22T23:58:15.601-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="simple tags" /><category scheme="http://www.blogger.com/atom/ns#" term="difference between simple and classic tags" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="classic tags" /><category scheme="http://www.blogger.com/atom/ns#" term="Tomcat" /><title>difference between simple and classic tags</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/1572899616350155347/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=1572899616350155347" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/1572899616350155347?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/1572899616350155347?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/5s0Ta8HyEiM/simple-tags-and-classic-tags.html" title="difference between simple and classic tags" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><content type="html">There are lot of differences between simple and classic tags. Here we try to understand the significant ones.For simple tags, extend SimpleTagSupport class. The dotage() method declares JspException as well as IOException.to send the body of simple tag to client:getJspBody.invoke(null)to send the body of simple tag to some writer object:getJspBody.invoke(java.io.writer wr)The getParent() method 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FR7Wgbt6BAd-jAXRqUHJ1ZCvUeM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FR7Wgbt6BAd-jAXRqUHJ1ZCvUeM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FR7Wgbt6BAd-jAXRqUHJ1ZCvUeM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FR7Wgbt6BAd-jAXRqUHJ1ZCvUeM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/5s0Ta8HyEiM" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/11/simple-tags-and-classic-tags.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQBQX4_eip7ImA9WxRUEU0.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-2694588787022215019</id><published>2008-11-19T05:18:00.000-08:00</published><updated>2008-11-19T06:02:30.042-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-19T06:02:30.042-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="JSP" /><category scheme="http://www.blogger.com/atom/ns#" term="Tag Files" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="Custom Tags" /><title>Tag files</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/2694588787022215019/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=2694588787022215019" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/2694588787022215019?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/2694588787022215019?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/NpNrmV_O4hg/tag-files.html" title="Tag files" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">When including files, one needs to either use include directive, include standard action or the include method of Request Dispatcher.For sending extra parameters to the included files in case of include standard action, param standard action is used which specifies the name and value of the parameter being passed.The problem is dual with this approach. Firstly, we need to use the predefined text 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aMuM9NGo0dHJQFX4rvIB1QD5qnY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aMuM9NGo0dHJQFX4rvIB1QD5qnY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aMuM9NGo0dHJQFX4rvIB1QD5qnY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aMuM9NGo0dHJQFX4rvIB1QD5qnY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/NpNrmV_O4hg" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/11/tag-files.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4GRHkzcSp7ImA9WxRVE00.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-4114879985589882180</id><published>2008-11-09T23:07:00.000-08:00</published><updated>2008-11-09T23:08:45.789-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-09T23:08:45.789-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Design Patterns" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><title>Design Patterns for SCWCD</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/4114879985589882180/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=4114879985589882180" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/4114879985589882180?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/4114879985589882180?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/R_Tr_FNE3Iw/design-patterns-for-scwcd.html" title="Design Patterns for SCWCD" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">The exam will definitely have questions on design patterns but the following tips may be useful at work:1) Make your code cohesive: Each class/servlet defined in the application should be one specific task to do. That way, its easier to identify the class to  be changed in case some changes are to be done in the application. For example: We need to look up the remote proxy’s when using JNDI and 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wHoCiwe-0h1uMZg_6G9uYZOy4DA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wHoCiwe-0h1uMZg_6G9uYZOy4DA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wHoCiwe-0h1uMZg_6G9uYZOy4DA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wHoCiwe-0h1uMZg_6G9uYZOy4DA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/R_Tr_FNE3Iw" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/11/design-patterns-for-scwcd.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8DQ3w9eyp7ImA9WxRTEE8.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-4650510316179776759</id><published>2008-08-29T08:47:00.003-07:00</published><updated>2008-08-29T08:47:52.263-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-29T08:47:52.263-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="getParameter and getAttribute method return" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><category scheme="http://www.blogger.com/atom/ns#" term="What does getHeader" /><title>What does getHeader, getParameter and getAttribute method return</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/4650510316179776759/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=4650510316179776759" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/4650510316179776759?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/4650510316179776759?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/LIZ84OXpjhw/what-does-getheader-getparameter-and.html" title="What does getHeader, getParameter and getAttribute method return" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">getHeader   StringgetDateHeader   longgetHeaders   EnumerationgetIntHeader   intgetParameter   StringgetParameterNames  EnumerationgetParameterValues  String[]getParameterMap  MapgetAttribute   ObjectgetAttributeNames  ObjectsetAttribute   voidremoveAttribute  void
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/QClX-1CBcwi5AduTZocrJD9uM_o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QClX-1CBcwi5AduTZocrJD9uM_o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/QClX-1CBcwi5AduTZocrJD9uM_o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/QClX-1CBcwi5AduTZocrJD9uM_o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/LIZ84OXpjhw" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/what-does-getheader-getparameter-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8ARH85cSp7ImA9WxRTEE8.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-2997104396091910813</id><published>2008-08-29T08:47:00.001-07:00</published><updated>2008-08-29T08:47:25.129-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-29T08:47:25.129-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="Why getParameter methods in ServletRequest and headers in HttpServletRequest" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><title>Why getParameter methods in ServletRequest and headers in HttpServletRequest</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/2997104396091910813/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=2997104396091910813" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/2997104396091910813?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/2997104396091910813?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/nSTjGea9kio/why-getparameter-methods-in.html" title="Why getParameter methods in ServletRequest and headers in HttpServletRequest" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">The Parameters are stored in the deployment descriptor file named web.xml. Since the underlying protocol can be anything other than HTTP, the getParameter methods have to be generic and protocol independent. This is the reason that the getParameter methods are present in ServletRequest class instead of HTTPServletRequest class.On the other hand, HTTP headers like method, cookies etc. are specific
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FNkbB34Cl0jAmFSMxMiQkN5BBk0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FNkbB34Cl0jAmFSMxMiQkN5BBk0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FNkbB34Cl0jAmFSMxMiQkN5BBk0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FNkbB34Cl0jAmFSMxMiQkN5BBk0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/nSTjGea9kio" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/why-getparameter-methods-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8FQH0-eCp7ImA9WxRTEE8.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-624267680857409228</id><published>2008-08-29T08:46:00.001-07:00</published><updated>2008-08-29T08:46:51.350-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-29T08:46:51.350-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><category scheme="http://www.blogger.com/atom/ns#" term="Parametrs and Attributes" /><title>Parametrs and Attributes</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/624267680857409228/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=624267680857409228" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/624267680857409228?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/624267680857409228?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/kaIL9TBwC18/parametrs-and-attributes.html" title="Parametrs and Attributes" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Parameters are a kind of constants which are defined in the deployment descriptor file named web.xml. There are read only which means that there values can’t be changed by any servlet/JSP code. The parameters can be ServletConfig or ServletContext parameters. The ServletConfig parameters are defined for each servlet but the ServletContext parameters are shared among all servlets in a web 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Oubl7-sETY3YrpeNI6w7Eo27-nI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Oubl7-sETY3YrpeNI6w7Eo27-nI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Oubl7-sETY3YrpeNI6w7Eo27-nI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Oubl7-sETY3YrpeNI6w7Eo27-nI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/kaIL9TBwC18" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/parametrs-and-attributes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEBQ3Y6cCp7ImA9WxRTE0g.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-8743736756135012763</id><published>2008-08-29T01:17:00.001-07:00</published><updated>2008-09-02T04:24:12.818-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-02T04:24:12.818-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HTTP methods" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="When is GET and POST used" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><title>When is GET and POST used</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/8743736756135012763/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=8743736756135012763" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/8743736756135012763?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/8743736756135012763?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/RWteUnqXI_Y/when-is-get-and-post-used.html" title="When is GET and POST used" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Clicking the hyperlink:GETSubmitting a form with method as GETGETSubmitting a form with no methodGETSubmitting a form with POST methodPOSTSubmitting a form by using JavaScript function which was called onclick()POSTEntering the URL and hitting the enterGETclick hereGET
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rGaKvRTzrLpp4c3uPTDdPJNpqF4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rGaKvRTzrLpp4c3uPTDdPJNpqF4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rGaKvRTzrLpp4c3uPTDdPJNpqF4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rGaKvRTzrLpp4c3uPTDdPJNpqF4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/RWteUnqXI_Y" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/when-is-get-and-post-used.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8HQn4zfCp7ImA9WxdaGUQ.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-3047131543589553337</id><published>2008-08-29T01:16:00.002-07:00</published><updated>2008-08-29T01:17:13.084-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-29T01:17:13.084-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HTTP methods" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="Difference between HEAD and GET" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><title>Difference between HEAD and GET</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/3047131543589553337/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=3047131543589553337" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/3047131543589553337?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/3047131543589553337?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/XKdW7_4aRrM/difference-between-head-and-get.html" title="Difference between HEAD and GET" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">HEAD and GET requests are the same with the only difference that HEAD doesn’t include query string and only includes the response headers. Thus HEAD request is efficient when only response headers are to be retrieved.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NG5hYRsdtSb8Vm_S_5gprImM79A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NG5hYRsdtSb8Vm_S_5gprImM79A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NG5hYRsdtSb8Vm_S_5gprImM79A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NG5hYRsdtSb8Vm_S_5gprImM79A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/XKdW7_4aRrM" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/difference-between-head-and-get.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEEQHwycSp7ImA9WxRTE0g.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-2821172024388570812</id><published>2008-08-29T01:16:00.001-07:00</published><updated>2008-09-02T04:23:21.299-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-02T04:23:21.299-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HTTP methods" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="Idempotent methods" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><title>Idempotent</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/2821172024388570812/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=2821172024388570812" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/2821172024388570812?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/2821172024388570812?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/iDPduzw7kpE/idempotent.html" title="Idempotent" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">The client can send a request to the web server for different purposes like GET, POST, HEAD, TRACE etc. Out of all the HTTP methods, GET is the one which is idempotent. Being Idempotent means that GETgives the same result if it is invoked on the same form multiple times. Other methods may give same result in same cases but that behavior is not guaranteed for all requests.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/exTCMMEjvXa9aV6KTb-QdqnsRf0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/exTCMMEjvXa9aV6KTb-QdqnsRf0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/exTCMMEjvXa9aV6KTb-QdqnsRf0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/exTCMMEjvXa9aV6KTb-QdqnsRf0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/iDPduzw7kpE" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/idempotent.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUAARH86eyp7ImA9WxdaGUQ.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-635845324974895355</id><published>2008-08-29T01:05:00.002-07:00</published><updated>2008-08-29T01:15:45.113-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-29T01:15:45.113-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HTTP methods" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="Differences between GET and POST" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><title>Differences between GET and POST</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/635845324974895355/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=635845324974895355" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/635845324974895355?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/635845324974895355?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/UthVDMsLZNA/differences-between-get-and-post.html" title="Differences between GET and POST" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">__________________POST__________________________GETData typeText or binaryTextForm elementsNot VisibleVisibleAmount of dataUnlimitedlimitedCachingNot cachedcached
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NxQDEr0nXbpfPCi37cs6r25mAKk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NxQDEr0nXbpfPCi37cs6r25mAKk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NxQDEr0nXbpfPCi37cs6r25mAKk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NxQDEr0nXbpfPCi37cs6r25mAKk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/UthVDMsLZNA" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/differences-between-get-and-post.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYBQXs6eip7ImA9WxdaGUQ.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-5028837744019800356</id><published>2008-08-29T01:05:00.001-07:00</published><updated>2008-08-29T01:05:50.512-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-29T01:05:50.512-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><category scheme="http://www.blogger.com/atom/ns#" term="Active and passive resources" /><title>Active and passive resources</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/5028837744019800356/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=5028837744019800356" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/5028837744019800356?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/5028837744019800356?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/_9UXCMohGQ8/active-and-passive-resources.html" title="Active and passive resources" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">An active resource is the one which does some kind of processing or is designed to do some run time processing. e.g. servlets do some processing before the HTML content can be delivered Where as a passive resource is one which is returned to the client as it is. HTML files are the classic example of passive resources.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0SXTNrETQ4q0W9OqevrYedlYTPk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0SXTNrETQ4q0W9OqevrYedlYTPk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0SXTNrETQ4q0W9OqevrYedlYTPk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0SXTNrETQ4q0W9OqevrYedlYTPk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/_9UXCMohGQ8" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/active-and-passive-resources.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcNSH4-cCp7ImA9WxdaGEw.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-6911148449814320050</id><published>2008-08-26T23:20:00.000-07:00</published><updated>2008-08-26T23:21:39.058-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-26T23:21:39.058-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="What is a web application?" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><title>What is a web application?</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/6911148449814320050/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=6911148449814320050" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/6911148449814320050?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/6911148449814320050?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/hz_cbod-i8I/what-is-web-application.html" title="What is a web application?" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">A web application is an application serving the clients using the web browser.The advantages of web application are:1) Follows client server technology and hence no business processing on client side2) Client can be a web browser which is available in each operating system3) Platform Independence4) Application can be deployed on the internet to reach more clientsBut a web application may need to 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HvAoM-FyMwR7cwSz47-HIGjuWOw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HvAoM-FyMwR7cwSz47-HIGjuWOw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HvAoM-FyMwR7cwSz47-HIGjuWOw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HvAoM-FyMwR7cwSz47-HIGjuWOw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/hz_cbod-i8I" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/what-is-web-application.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YHQ3o-eCp7ImA9WxdaF0s.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-741708336894034544</id><published>2008-08-26T07:31:00.000-07:00</published><updated>2008-08-26T07:32:12.450-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-26T07:32:12.450-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="servlets or JSP" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><title>servlets or JSP</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/741708336894034544/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=741708336894034544" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/741708336894034544?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/741708336894034544?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/69N20Wc4eIk/servlets-or-jsp.html" title="servlets or JSP" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">When going through the Servlet and JSP API, a question comes to mind as what is better JSP or servlets. The servlets look more like Java and JSP more like HTML with those tags (custom and classic).Truly speaking, the project should be developed using both servlets and JSP. JSP’s are perfect for the view and servlets are perfect for the controller part of the MVC pattern. For those who want to 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Qv6xe0Wo7Q3M-bdsEN59JeQTAQU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Qv6xe0Wo7Q3M-bdsEN59JeQTAQU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Qv6xe0Wo7Q3M-bdsEN59JeQTAQU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Qv6xe0Wo7Q3M-bdsEN59JeQTAQU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/69N20Wc4eIk" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/servlets-or-jsp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cCRn4ycCp7ImA9WxdaF0s.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-3970333629827924234</id><published>2008-08-26T07:30:00.000-07:00</published><updated>2008-08-26T07:31:07.098-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-26T07:31:07.098-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="service methods in HTTPServlet class" /><category scheme="http://www.blogger.com/atom/ns#" term="HTTPServlet" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><title>service methods in HTTPServlet class</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/3970333629827924234/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=3970333629827924234" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/3970333629827924234?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/3970333629827924234?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/kUywK6DMAsQ/service-methods-in-httpservlet-class.html" title="service methods in HTTPServlet class" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">The HTTPServlet class implements the service() method so as to determine the method being used by the client to request the resource. And based on the method detected by the HTTPServlet class doXXX methods are called. The service method is called for each request sent by the client. If the service method is overridden by the servlet itself then it’s  the responsibility of servlet coder to call 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/P6sVJoatr6q0LDb2mjbWEnn3uEY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P6sVJoatr6q0LDb2mjbWEnn3uEY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/P6sVJoatr6q0LDb2mjbWEnn3uEY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P6sVJoatr6q0LDb2mjbWEnn3uEY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/kUywK6DMAsQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/service-methods-in-httpservlet-class.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cFQXk7fip7ImA9WxdaF0s.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-9128906764746304226</id><published>2008-08-26T07:29:00.000-07:00</published><updated>2008-08-26T07:30:10.706-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-26T07:30:10.706-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="GenericServlet" /><category scheme="http://www.blogger.com/atom/ns#" term="Why is GenericServlet class abstract?" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><title>Why is GenericServlet class abstract?</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/9128906764746304226/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=9128906764746304226" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/9128906764746304226?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/9128906764746304226?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/CXu1VtMaZaQ/why-is-genericservlet-class-abstract.html" title="Why is GenericServlet class abstract?" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">GenericServlet class is an abstract class because it doesn’t implement the service method and leaves that method to be implemented in protocol specific way by its subclasses. All other methods of the Servlet interface are implemented by the GenericServlet class. For the HTTP protocol, the HTTPServlet class provides the implementation of the service method.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/prR68utVZq2SArRbYnekFrxkpd8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/prR68utVZq2SArRbYnekFrxkpd8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/prR68utVZq2SArRbYnekFrxkpd8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/prR68utVZq2SArRbYnekFrxkpd8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/CXu1VtMaZaQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/why-is-genericservlet-class-abstract.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4BRXc_cCp7ImA9WxdaF0s.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-426983168651202214</id><published>2008-08-26T07:27:00.000-07:00</published><updated>2008-08-26T07:29:14.948-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-26T07:29:14.948-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="What does getServletConfig() method do?" /><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="getServletConfig()" /><title>What does getServletConfig() method do?</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/426983168651202214/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=426983168651202214" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/426983168651202214?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/426983168651202214?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/KgYkbRyjVO4/what-does-getservletconfig-method-do.html" title="What does getServletConfig() method do?" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">The servlet container calls the init(ServletConfig) method of the GenericServlet class. The Servlet already creates an object of type ServletConfig and passes that object to the init(ServletConfig) method. Now it’s the responsibility of the init method to save a reference to the ServletConfig object so that the servlet can use this object to get the initialization parameters. The servlet can get 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_1TfYs01Py_WE651ZKXqVld8blU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_1TfYs01Py_WE651ZKXqVld8blU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_1TfYs01Py_WE651ZKXqVld8blU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_1TfYs01Py_WE651ZKXqVld8blU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/KgYkbRyjVO4" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/what-does-getservletconfig-method-do.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8FR3k_cSp7ImA9WxdaE0Q.&quot;"><id>tag:blogger.com,1999:blog-4253740986572369032.post-4173416911328803801</id><published>2008-08-22T01:46:00.001-07:00</published><updated>2008-08-22T01:46:56.749-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-22T01:46:56.749-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SCWCD" /><category scheme="http://www.blogger.com/atom/ns#" term="container" /><category scheme="http://www.blogger.com/atom/ns#" term="servlet" /><title>servlet container and servlet API</title><link rel="replies" type="application/atom+xml" href="http://crackscwcd.blogspot.com/feeds/4173416911328803801/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=4253740986572369032&amp;postID=4173416911328803801" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/4173416911328803801?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4253740986572369032/posts/default/4173416911328803801?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/CrackScwcd/~3/HlsbhQUpDIQ/servlet-container-and-servlet-api.html" title="servlet container and servlet API" /><author><name>Sandeep</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">The servlet API specifies the behavior of servlets in a standard way. There are some rules which each container must follow to Servlet API compliant. But there are some tasks whose implementation is left on to the servlet container.The servlet 2.5 specification is available for download at:http://jcp.org/aboutJava/communityprocess/mrel/jsr154/index.htmlThe API guarantees the behavior and 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/eo9DAOdsT16PYXZ-czqWggwyz6Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eo9DAOdsT16PYXZ-czqWggwyz6Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/eo9DAOdsT16PYXZ-czqWggwyz6Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/eo9DAOdsT16PYXZ-czqWggwyz6Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/CrackScwcd/~4/HlsbhQUpDIQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://crackscwcd.blogspot.com/2008/08/servlet-container-and-servlet-api.html</feedburner:origLink></entry></feed>

