{"id":1465,"date":"2014-02-27T15:06:31","date_gmt":"2014-02-27T15:06:31","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=1465"},"modified":"2022-04-22T10:30:52","modified_gmt":"2022-04-22T09:30:52","slug":"install-servlets-hosting-account","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/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.co.uk\/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.co.uk\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png 400w, https:\/\/www.milesweb.co.uk\/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 hosting 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<blockquote>\n<p>root@server1 [~]# \/scripts\/addservlets &#8211;domain yourdomain.com<br>Scanning userdata&#8230;<br>Updating server.xml&#8230;<br>Restarting Tomcat<br>Done: .jsp support installed for yourdomain.com<\/p>\n<\/blockquote>\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<blockquote>\n<p>Working JSP page!<\/p>\n<p>This is a page to verify that .jsp support has been enabled<br>Date: Thu Feb 27 20:19:40 IST 2014<br>Remote Address: 59.94.222.149<br>Request Method: GET<br>Servlet Path: \/jsptest.jsp<\/p>\n<\/blockquote>\n<p>With our <a title=\"cPanel Hosting\" href=\"https:\/\/www.milesweb.co.uk\/hosting\/cpanel-hosting\" target=\"_blank\" rel=\"noopener noreferrer\">cPanel hosting<\/a> plans, 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.co.uk\/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\n\n<p><\/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 v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Install Servlets On Your Hosting Account ? - Web Hosting FAQs by MilesWeb<\/title>\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.co.uk\/hosting-faqs\/install-servlets-hosting-account\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Install Servlets On Your Hosting Account ? - Web Hosting FAQs by MilesWeb\" \/>\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, 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;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/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:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/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=\"Estimated 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\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/\",\"name\":\"How To Install Servlets On Your Hosting Account ? - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/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:52+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/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.co.uk\/hosting-faqs\/install-servlets-hosting-account\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Install Servlets On Your Hosting Account ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g\",\"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.co.uk\/hosting-faqs\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Install Servlets On Your Hosting Account ? - Web Hosting FAQs by MilesWeb","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.co.uk\/hosting-faqs\/install-servlets-hosting-account\/","og_locale":"en_GB","og_type":"article","og_title":"How To Install Servlets On Your Hosting Account ? - Web Hosting FAQs by MilesWeb","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, 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;]","og_url":"https:\/\/www.milesweb.co.uk\/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:52+00:00","og_image":[{"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png","type":"","width":"","height":""}],"author":"admin","twitter_misc":{"Written by":"admin","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/","name":"How To Install Servlets On Your Hosting Account ? - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/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:52+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69"},"breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/install-servlets-hosting-account\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2014\/02\/JSP-Tomcat-Hosting-with-MilesWeb.png","contentUrl":"https:\/\/www.milesweb.co.uk\/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.co.uk\/hosting-faqs\/install-servlets-hosting-account\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How To Install Servlets On Your Hosting Account ?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/90143c7d8df4b4de36b3dbb0bb272f69","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/42e5b55cc2772cd685c8803f6f7f854b?s=96&d=blank&r=g","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.co.uk\/hosting-faqs\/author\/admin\/"}]}},"views":1943,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=1465"}],"version-history":[{"count":7,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1465\/revisions"}],"predecessor-version":[{"id":14091,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1465\/revisions\/14091"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=1465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=1465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=1465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}