{"id":85782,"date":"2019-01-14T16:21:55","date_gmt":"2019-01-14T14:21:55","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?page_id=85782"},"modified":"2023-03-06T16:26:12","modified_gmt":"2023-03-06T14:26:12","slug":"java-servlet-tutorials","status":"publish","type":"page","link":"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials","title":{"rendered":"Java Servlet Tutorials"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-62\" style=\"border: none;\" src=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg\" alt=\"Enterprise Java Tutorials\" width=\"300\" height=\"300\"><br \/>\nA <a href=\"https:\/\/en.wikipedia.org\/wiki\/Java_servlet\">Java servlet<\/a> is a Java software component that extends the capabilities of a server. Although servlets can respond to any types of requests they most commonly implement web containers for hosting web applications on web servers and thus qualify as a server-side servlet web API. Such web servlets are the Java counterpart to other dynamic web content technologies such as PHP and ASP.NET.<\/p>\n<p>A Java servlet processes or stores a Java class in Java EE that conforms to the Java Servlet API, a standard for implementing Java classes that respond to requests. Servlets could in principle communicate over any client\u2013server protocol, but they are most often used with the HTTP. Thus &#8220;servlet&#8221; is often used as shorthand for &#8220;HTTP servlet&#8221;. Thus, a software developer may use a servlet to add dynamic content to a web server using the Java platform. The generated content is commonly HTML, but may be other data such as XML and more commonly, JSON. Servlets can maintain state in session variables across many server transactions by using HTTP cookies, or URL mapping.<\/p>\n<p>The Java servlet API has, to some extent, been superseded by two standard Java technologies for web services:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.javacodegeeks.com\/jax-rs-tutorials\">JAX-RS<\/a> the Java API for RESTful Web Services useful for AJAX, JSON and REST services, and<\/li>\n<li><a href=\"https:\/\/www.javacodegeeks.com\/jax-ws-tutorials\">JAX-WS<\/a> the Java API for XML Web Services useful for SOAP Web Services.<\/li>\n<\/ul>\n<p>To deploy and run a servlet, a web container must be used. A web container (also known as a servlet container) is essentially the component of a web server that interacts with the servlets. The web container is responsible for managing the lifecycle of servlets, mapping a URL to a particular servlet and ensuring that the URL requester has the correct access rights.<\/p>\n<p>The Servlet API, contained in the Java package hierarchy <code>javax.servlet<\/code>, defines the expected interactions of the web container and a servlet.<\/p>\n<p>A <code>Servlet<\/code> is an object that receives a request and generates a response based on that request. The basic Servlet package defines Java objects to represent servlet requests and responses, as well as objects to reflect the servlet&#8217;s configuration parameters and execution environment. The package <code>javax.servlet.http<\/code> defines HTTP-specific sub-classes of the generic servlet elements, including session management objects that track multiple requests and responses between the web server and a client. Servlets may be packaged in a WAR file as a web application.<\/p>\n<p>Servlets can be generated automatically from<a href=\"https:\/\/www.javacodegeeks.com\/jsp-tutorials\"> JavaServer Pages (JSP)<\/a> by the JavaServer Pages compiler. The difference between servlets and JSP is that servlets typically embed HTML inside Java code, while JSPs embed Java code in HTML. While the direct usage of servlets to generate HTML (as shown in the example below) has become rare, the higher level MVC web framework in Java EE (<a href=\"https:\/\/www.javacodegeeks.com\/jsf-tutorials\">JSF<\/a>) still explicitly uses the servlet technology for the low level request\/response handling via the <code>FacesServlet<\/code>. A somewhat older usage is to use servlets in conjunction with JSPs in a pattern called &#8220;Model 2&#8221;, which is a flavor of the model\u2013view\u2013controller.<\/p>\n<div class=\"tip\"><strong>Note<\/strong><br \/>\nIf you wish to build up your Java Servlet knowledge first, check out our <a href=\"https:\/\/www.javacodegeeks.com\/2014\/12\/java-servlet-tutorial.html\">Java Servlet Tutorial \u2013 The ULTIMATE Guide<\/a>.<\/div>\n<p><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;[ulp id='evUVoGhmMT2e7Bse']&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}\">[ulp id=&#8217;evUVoGhmMT2e7Bse&#8217;]<\/span><\/p>\n<h2>Java Servlet Tutorials \u2013 Getting Started<\/h2>\n<h4>Simple examples based on the Java Servlet<\/h4>\n<ul>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/sample-java-servlet\/\">Sample Java Servlet<\/a><br \/>\nIn this example we are going to see how to create a simple Java Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/basics-servlets-tutorial\/\">Basics of Servlets Tutorial<\/a><br \/>\nIn this article we will cover the basics of Servlets using Java 8, in a servlet 3.1 compliant container.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-hello-world-example\/\">Java Servlet Hello World Example<\/a><br \/>\nIn this example we explore three of the HTTP methods that Servlets API use to receive the requests: get, post and service.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-xampp-tutorial\/\">Java Servlet XAMPP Tutorial<\/a><br \/>\nIn this article we will briefly discuss what Xampp is and how to \u201crun\u201d a Java Servlet application from it using linux.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-websocket-example\/\">Java Servlet Websocket Example<\/a><br \/>\nIn this article we illustrate a simple chat program using a Websocket endpoint.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-life-cycle-example\/\">Java Servlet Life Cycle Example 1<\/a><br \/>\nIn this example we will explain the Servlet Lifecycle.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-lifecycle-example\/\">Java Servlet Life Cycle Example 2<\/a><br \/>\nIn this example we will show you how it all works out in the servlet container.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-jsp-example\/\">Java Servlet and JSP Example<\/a><br \/>\nIn this article we will demonstrate a simple Servlet and JSP example using the maven cargo plugin from the command line.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-container-example\/\">Java Servlet Container Example<\/a><br \/>\nIn this article we will demonstrate deploying and running a simple web application via a servlet container.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-file-download-file-upload-example\/\">Java Servlet File Download and File Upload Example<\/a><br \/>\nIn this tutorial we will show you how to set up the File Upload and Download functionality in a Servlet based Java web application.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-security-example\/\">Java Servlet Security Example<\/a><br \/>\nIn this tutorial we will see how to configure the Basic Authentication in the servlets.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-session-timeout-configuration-example\/\">Java Servlet Session Timeout Configuration Example<\/a><br \/>\nIn this tutorial we will show you how to set up the Session Timeout in a Servlet based web application.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-exception-handling-example\/\">Java Servlet Exception Handling Example<\/a><br \/>\nIn this tutorial we will see how to tackle these exception handling in the Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-session-management-example\/\">Java Servlet Session Management Example<\/a><br \/>\nIn this tutorial we will see how to achieve the Session Management in Servlet Java programming.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-database-connectivity-example\/\">Java Servlet Database Connectivity Example<\/a><br \/>\nIn this tutorial we will explain and show you how to connect the servlet to the database.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-bean-example\/\">Java Servlet Bean Example<\/a><br \/>\nIn this tutorial we will explain how to handle the JavaBean in a Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-hidden-field-example\/\">Java Servlet Hidden Field Example<\/a><br \/>\nIn this tutorial we will explain and show you how to handle the hidden fields in a Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-sync-context-example\/\">Java Servlet Sync Context Example<\/a><br \/>\nIn this tutorial we will understand what Async Servlet is.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-annotations-example\/\">Java Servlet Annotations Example<\/a><br \/>\nIn this tutorial we will see how the Servlet annotations can replace the equivalent XML configuration in the web deployment descriptor file (web.xml).<\/li>\n<li><a href=\"htts:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-filter-example\/\">Java Servlet Filter Example<\/a><br \/>\nIn this tutorial we will explain how to implement the Servlet Filter API to handle the client requests.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-application-login-page\/\">Java Servlet Application for Login Page<\/a><br \/>\nIn this tutorial we will explain how to handle the Servlet HTTP POST Request parameters.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-generate-zip-file-example\/\">Java Servlet Generate Zip File Example<\/a><br \/>\nIn this article we illustrate how to generate a zip (compressed) file via a GET request to a custom servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-file-upload-example\/\">Java Servlet File Upload Example<\/a><br \/>\nIn this example we will see how to use servlet to upload a file. We will be just uploading the file to a server folder.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-authentication-example\/\">Java Servlet Authentication Example<\/a><br \/>\nIn this example we will explain how to perform authentication using a servlet running on WildFly application server and Eclipse.<\/li>\n<\/ul>\n<h2>Java Servlet Tutorials \u2013 Functions<\/h2>\n<h4>Learn the most famous functionalities and operations of the Java Servlet<\/h4>\n<ul>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-http-response-headers-example\/\">Java Servlet HTTP Response Headers Example<\/a><br \/>\nIn this tutorial we will explain and show you how to use the HTTP response headers in the Servlet page.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-http-request-headers-example\/\">Java Servlet HTTP Request Headers Example<\/a><br \/>\nIn this tutorial we will explain and show you how to display the HTTP header information of a request in the Servlet page.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-url-parameters-example\/\">Java Servlet Url Parameters Example<\/a><br \/>\nIn this tutorial we will explain how to handle parameters of the Servlet HTTP Request.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-set-get-example\/\">Java Servlet Set\/Get Example<\/a><br \/>\nIn this example we will talk about the Java Servlet Set\/Get variables.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/get-client-s-address-and-hostname-in-servlet\/\">Get client&#8217;s address and hostname in Servlet<\/a><br \/>\nIn this example we are going to see how to get client\u2019s address and hostname in a Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/get-all-init-parameters-in-servlet\/\">Get all Init Parameters in Servlet<\/a><br \/>\nIn tutorial we will show you how to get all Init Parameters in Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/get-set-init-parameters-in-servlet\/\">Get\/Set init Parameters in Servlet<\/a><br \/>\nIn this example we are going to see how to get\/set init parameters in a Servelt.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/get-all-request-parameters-in-servlet\/\">Get all Request Parameters in Servlet<\/a><br \/>\nIn this tutorial we will show you how to get all requests parameters in a Java Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/get-request-parameter-in-servlet\/\">Get Request Parameter in Servlet<\/a><br \/>\nIn this tutorial we will show you how to get request parameter in a Java Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/get-all-request-headers-in-servlet\/\">Get all Request Headers in Servlet<\/a><br \/>\nIn this example we will show you how to get all the Request Headers in a Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/get-request-header-in-servlet\/\">Get Request Header in Servlet<\/a><br \/>\nIn this example we will show you how to get Request Headers in a Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-cookie-methods-example\/\">Java Servlet Cookie Methods Example<\/a><br \/>\nIn this tutorial we will show you how to store the user information in the cookie object and access it in the Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-onclick-example\/\">Java Servlet onclick Example<\/a><br \/>\nIn this tutorial we will explain and show you how to call a Servlet method on a button click.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-asynclistener-example\/\">Java Servlet AsyncListener Example<\/a><br \/>\nIn this section you will learn about registering AsyncListener with the recently created AsyncContext with an example.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-sendredirect-example\/\">Java Servlet SendRedirect Example<\/a><br \/>\nIn this example we are validating the login credentials entered by the user.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-requestdispatcher-tutorial\/\">Java Servlet RequestDispatcher Tutorial<\/a><br \/>\nIn this tutorial we will see how the javax.servlet.RequestDispatcher interface is used to forward or include the response of a resource in a Servlet.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-context-listener-example\/\">Java Servlet Context Listener Example<\/a><br \/>\nIn this tutorial we will be demonstrating a simple example of how to use ServletContextListener to make some global initializations and configurations.<\/li>\n<li><a href=\"https:\/\/examples.javacodegeeks.com\/enterprise-java\/servlet\/java-servlet-servletconfig-vs-servletcontext-example\/\">Java Servlet ServletConfig vs ServletContext Example<\/a><br \/>\nIn this tutorial we will see how the ServletContext and ServletConfig are different from each other.<\/li>\n<\/ul>\n<p>[undereg]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Java servlet is a Java software component that extends the capabilities of a server. Although servlets can respond to any types of requests they most commonly implement web containers for hosting web applications on web servers and thus qualify as a server-side servlet web API. Such web servlets are the Java counterpart to other &hellip;<\/p>\n","protected":false},"author":34987,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-85782","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Java Servlet Tutorials - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Intersted to learn more about JSF? Then check out our detailed Resource page where we feature an abundance of Java Servlet Tutorials!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java Servlet Tutorials - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Intersted to learn more about JSF? Then check out our detailed Resource page where we feature an abundance of Java Servlet Tutorials!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-06T14:26:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/java-servlet-tutorials\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/java-servlet-tutorials\",\"name\":\"Java Servlet Tutorials - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/java-servlet-tutorials#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/java-servlet-tutorials#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"datePublished\":\"2019-01-14T14:21:55+00:00\",\"dateModified\":\"2023-03-06T14:26:12+00:00\",\"description\":\"Intersted to learn more about JSF? Then check out our detailed Resource page where we feature an abundance of Java Servlet Tutorials!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/java-servlet-tutorials#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/java-servlet-tutorials\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/java-servlet-tutorials#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"java-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/java-servlet-tutorials#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java Servlet Tutorials\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Java Servlet Tutorials - Java Code Geeks","description":"Intersted to learn more about JSF? Then check out our detailed Resource page where we feature an abundance of Java Servlet Tutorials!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials","og_locale":"en_US","og_type":"article","og_title":"Java Servlet Tutorials - Java Code Geeks","og_description":"Intersted to learn more about JSF? Then check out our detailed Resource page where we feature an abundance of Java Servlet Tutorials!","og_url":"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_modified_time":"2023-03-06T14:26:12+00:00","og_image":[{"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@javacodegeeks","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials","url":"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials","name":"Java Servlet Tutorials - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","datePublished":"2019-01-14T14:21:55+00:00","dateModified":"2023-03-06T14:26:12+00:00","description":"Intersted to learn more about JSF? Then check out our detailed Resource page where we feature an abundance of Java Servlet Tutorials!","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/java-servlet-tutorials"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","width":150,"height":150,"caption":"java-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/java-servlet-tutorials#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java Servlet Tutorials"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/pages\/85782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/34987"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=85782"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/pages\/85782\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=85782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}