{"id":1465,"date":"2014-02-27T15:06:31","date_gmt":"2014-02-27T15:06:31","guid":{"rendered":"http:\/\/www.milesweb.com\/hosting-faqs\/?p=1465"},"modified":"2022-04-22T15:00:01","modified_gmt":"2022-04-22T09:30:01","slug":"install-servlets-hosting-account","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/","title":{"rendered":"How To Install Servlets On Your Hosting Account?"},"content":{"rendered":"<p>The servlet is a Java programming language class used to extend the capabilities of a server. Although servlets can respond to any types of requests, they are commonly used to extend the applications hosted by web servers, so they can be thought of as Java applets that run on servers instead of in web browsers.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1470\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png\" alt=\"JSP Tomcat Hosting with MilesWeb\" width=\"400\" height=\"300\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png 400w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb-300x225.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<p>The need to install Servlets is when you wish to use .jsp pages on your <a href=\"https:\/\/www.milesweb.in\">web hosting<\/a> account. You can use the .jsp pages on the server which has Java, Apache\/Tomcat installed. <!--more--><\/p>\n<p>Installing Servelts is possible when you have root access to your server. Login to your <strong>WHM <\/strong>as root &amp; access option <strong>Account Functions \u00bb Install Servlets<\/strong>. Select the domain which should support .jsp pages &amp; click on Install.<\/p>\n<p>An other alternative is to install it from the <strong>command prompt<\/strong> as root user. Install the servlets with command below.<\/p>\n<p><strong>root@server1 [~]# \/scripts\/addservlets &#8211;domain yourdomain.com<br \/>\nScanning userdata&#8230;<br \/>\nUpdating server.xml&#8230;<br \/>\nRestarting Tomcat<br \/>\nDone: .jsp support installed for yourdomain.com<\/strong><\/p>\n<p>Once done, a test jsp page is automatically created under your public_html directory which can be browsed with URL yourdomain.com\/jsptest.jsp. It should show an output as below<\/p>\n<p><strong>Working JSP page!<br \/>\nThis is a page to verify that .jsp support has been enabled<br \/>\nDate: Thu Feb 27 20:19:40 IST 2014<br \/>\nRemote Address: 59.94.222.149<br \/>\nRequest Method: GET<br \/>\nServlet Path: \/jsptest.jsp<\/strong><\/p>\n<p>With our <a href=\"https:\/\/www.milesweb.in\/hosting\/cpanel-hosting\">cPanel hosting plans<\/a>, you get <strong>java version &#8220;1.7.0_51&#8221;<\/strong>, and <strong>Apache Tomcat\/7.0.42<\/strong>. If you wish to enable .jsp support OR install servlets, get in touch with our <a title=\"MilesWeb Support Team\" href=\"https:\/\/www.milesweb.in\/contact.php\" target=\"_blank\" rel=\"noopener noreferrer\">Support Team<\/a> &amp; they will enable\/install it for you.<\/p>\n<p><span style=\"border-radius: 2px; text-indent: 20px; width: auto; padding: 0px 4px 0px 0px; text-align: center; font: bold 11px\/20px 'Helvetica Neue',Helvetica,sans-serif; color: #ffffff; background: #bd081c no-repeat scroll 3px 50% \/ 14px 14px; position: absolute; opacity: 1; z-index: 8675309; display: none; cursor: pointer;\">Save<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The servlet is a Java programming language class used to extend the capabilities of a server. Although servlets can respond to any types of requests, they are commonly used to extend the applications hosted by web servers, so they can be thought of as Java applets that run on servers instead of in web browsers. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[107,105,106],"class_list":["post-1465","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos","tag-java-hosting","tag-jsp-hosting","tag-tomcat-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Install Servlets On Your Hosting Account?<\/title>\n<meta name=\"description\" content=\"The servlet is a Java programming language class used to extend the capabilities of a server. Although servlets can respond to any types of requests,\" \/>\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.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Install Servlets On Your Hosting Account?\" \/>\n<meta property=\"og:description\" content=\"The servlet is a Java programming language class used to extend the capabilities of a server. Although servlets can respond to any types of requests,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2014-02-27T15:06:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-22T09:30:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"headline\":\"How To Install Servlets On Your Hosting Account?\",\"datePublished\":\"2014-02-27T15:06:31+00:00\",\"dateModified\":\"2022-04-22T09:30:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/\"},\"wordCount\":271,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png\",\"keywords\":[\"Java Hosting\",\"JSP Hosting\",\"Tomcat Hosting\"],\"articleSection\":[\"How-Tos\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/\",\"name\":\"How To Install Servlets On Your Hosting Account?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png\",\"datePublished\":\"2014-02-27T15:06:31+00:00\",\"dateModified\":\"2022-04-22T09:30:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"description\":\"The servlet is a Java programming language class used to extend the capabilities of a server. Although servlets can respond to any types of requests,\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png\",\"width\":400,\"height\":300,\"caption\":\"JSP Tomcat Hosting with MilesWeb\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Install Servlets On Your Hosting Account?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png\",\"caption\":\"Admin\"},\"description\":\"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Install Servlets On Your Hosting Account?","description":"The servlet is a Java programming language class used to extend the capabilities of a server. Although servlets can respond to any types of requests,","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.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/","og_locale":"en_US","og_type":"article","og_title":"How To Install Servlets On Your Hosting Account?","og_description":"The servlet is a Java programming language class used to extend the capabilities of a server. Although servlets can respond to any types of requests,","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2014-02-27T15:06:31+00:00","article_modified_time":"2022-04-22T09:30:01+00:00","og_image":[{"url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png","type":"","width":"","height":""}],"author":"Admin","twitter_misc":{"Written by":"Admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/"},"author":{"name":"Admin","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"headline":"How To Install Servlets On Your Hosting Account?","datePublished":"2014-02-27T15:06:31+00:00","dateModified":"2022-04-22T09:30:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/"},"wordCount":271,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png","keywords":["Java Hosting","JSP Hosting","Tomcat Hosting"],"articleSection":["How-Tos"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/","name":"How To Install Servlets On Your Hosting Account?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png","datePublished":"2014-02-27T15:06:31+00:00","dateModified":"2022-04-22T09:30:01+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"description":"The servlet is a Java programming language class used to extend the capabilities of a server. Although servlets can respond to any types of requests,","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png","width":400,"height":300,"caption":"JSP Tomcat Hosting with MilesWeb"},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/install-servlets-hosting-account\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How To Install Servlets On Your Hosting Account?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/02\/MilesWeb-Logo-150x150.png","caption":"Admin"},"description":"With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=1465"}],"version-history":[{"count":9,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1465\/revisions"}],"predecessor-version":[{"id":16677,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1465\/revisions\/16677"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=1465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=1465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=1465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}