{"id":12756,"date":"2024-03-14T16:33:52","date_gmt":"2024-03-14T16:33:52","guid":{"rendered":"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/"},"modified":"2025-08-05T06:27:47","modified_gmt":"2025-08-05T06:27:47","slug":"how-to-execute-a-jsp-file-within-an-idea-software-platform","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/","title":{"rendered":"Run JSP in IntelliJ IDEA: Step-by-Step Guide"},"content":{"rendered":"<p>In IntelliJ IDEA, you can run JSP files locally by following these steps:<\/p>\n<ol>\n<li>Make sure that Tomcat server has been installed and configured correctly. If Tomcat has not been installed yet, please download and install it first.<\/li>\n<li>Open IntelliJ IDEA, click on the &#8220;File&#8221; option in the top menu bar, select &#8220;New&#8221;, and then choose &#8220;Project&#8221;.<\/li>\n<li>In the new project wizard, choose &#8220;Maven&#8221; or &#8220;Gradle&#8221; as the project build tool, and follow the prompts to create a new project.<\/li>\n<li>After the project is created, open &#8220;Project Structure&#8221; by using the shortcut &#8220;Ctrl + Alt + Shift + S&#8221;.<\/li>\n<li>On the left panel, select &#8220;Modules&#8221;, and then click on the &#8220;+&#8221; button, and choose &#8220;Web&#8221;.<\/li>\n<li>On the right panel, choose &#8220;Web Resource Directory&#8221; and set it to the directory where your JSP files are located.<\/li>\n<li>In the left panel, select &#8220;Artifacts&#8221; and then click the &#8220;+&#8221; button, choose &#8220;Web Application: Exploded&#8221;.<\/li>\n<li>Choose &#8220;Output Layout&#8221; from the panel on the right, then click on the &#8220;+&#8221; button and select &#8220;Web Directory&#8221;.<\/li>\n<li>Choose the &#8220;webapps&#8221; directory of your Tomcat server in the pop-up dialog box.<\/li>\n<li>Click on &#8220;Apply&#8221; and then click on &#8220;OK&#8221; to close the window.<\/li>\n<li>In IntelliJ IDEA&#8217;s toolbar, choose &#8220;Edit Configurations&#8221; (shortcut is &#8220;Alt + Shift + F10&#8221;), click the &#8220;+&#8221; button, select &#8220;Tomcat Server&#8221;, then choose &#8220;Local&#8221;.<\/li>\n<li>In the right panel, select &#8220;Deployment,&#8221; then click the &#8220;+&#8221; button, choose &#8220;Artifact,&#8221; and select the previously created Web Application.<\/li>\n<li>Choose &#8220;Server&#8221; in the left panel, then click the &#8220;+&#8221; button, and select &#8220;Local&#8221;.<\/li>\n<li>Choose the installation path for your Tomcat server on the right panel.<\/li>\n<li>Click on &#8220;Apply&#8221;, and then click on &#8220;OK&#8221; to close the window.<\/li>\n<li>In the toolbar of IntelliJ IDEA, select your Tomcat server, and then click the green &#8220;Run&#8221; button.<\/li>\n<li>Open the browser and enter &#8220;http:\/\/localhost:8080\/your project name\/your JSP file name.jsp&#8221; to run the JSP file in the browser.<\/li>\n<\/ol>\n<p>Please note that you can adjust the settings according to your specific situation in steps 6 and 11. Additionally, if you are using a different server such as Jetty or Glassfish, you can select the appropriate server in steps 11 and 14.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In IntelliJ IDEA, you can run JSP files locally by following these steps: Make sure that Tomcat server has been installed and configured correctly. If Tomcat has not been installed yet, please download and install it first. Open IntelliJ IDEA, click on the &#8220;File&#8221; option in the top menu bar, select &#8220;New&#8221;, and then choose [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[1],"tags":[4855,3750,155,1817,11959],"class_list":["post-12756","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-ide-configuration","tag-intellij-idea","tag-java-web-development","tag-jsp","tag-tomcat-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Run JSP in IntelliJ IDEA: Step-by-Step Guide - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Learn how to run JSP files in IntelliJ IDEA using Tomcat server. Includes setup, configuration, and project creation steps.\" \/>\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.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Run JSP in IntelliJ IDEA: Step-by-Step Guide\" \/>\n<meta property=\"og:description\" content=\"Learn how to run JSP files in IntelliJ IDEA using Tomcat server. Includes setup, configuration, and project creation steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-14T16:33:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-05T06:27:47+00:00\" \/>\n<meta name=\"author\" content=\"Jackson Davis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:site\" content=\"@SiliCloudGlobal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jackson Davis\" \/>\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.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/\"},\"author\":{\"name\":\"Jackson Davis\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/55a10b8b0457c35884c25677889ad350\"},\"headline\":\"Run JSP in IntelliJ IDEA: Step-by-Step Guide\",\"datePublished\":\"2024-03-14T16:33:52+00:00\",\"dateModified\":\"2025-08-05T06:27:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/\"},\"wordCount\":351,\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"keywords\":[\"IDE Configuration\",\"IntelliJ IDEA\",\"Java web development\",\"JSP\",\"Tomcat server\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/\",\"name\":\"Run JSP in IntelliJ IDEA: Step-by-Step Guide - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\"},\"datePublished\":\"2024-03-14T16:33:52+00:00\",\"dateModified\":\"2025-08-05T06:27:47+00:00\",\"description\":\"Learn how to run JSP files in IntelliJ IDEA using Tomcat server. Includes setup, configuration, and project creation steps.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.silicloud.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run JSP in IntelliJ IDEA: Step-by-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"name\":\"Silicon Cloud Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#organization\",\"name\":\"Silicon Cloud Blog\",\"url\":\"https:\/\/www.silicloud.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"contentUrl\":\"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png\",\"width\":1024,\"height\":1024,\"caption\":\"Silicon Cloud Blog\"},\"image\":{\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SiliCloudGlobal\/\",\"https:\/\/twitter.com\/SiliCloudGlobal\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/55a10b8b0457c35884c25677889ad350\",\"name\":\"Jackson Davis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2fdb47d6df1226e92380d96973782572a97b0675d098bb914410dec348eb5d29?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2fdb47d6df1226e92380d96973782572a97b0675d098bb914410dec348eb5d29?s=96&d=mm&r=g\",\"caption\":\"Jackson Davis\"},\"url\":\"https:\/\/www.silicloud.com\/blog\/author\/jacksondavis\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Run JSP in IntelliJ IDEA: Step-by-Step Guide - Blog - Silicon Cloud","description":"Learn how to run JSP files in IntelliJ IDEA using Tomcat server. Includes setup, configuration, and project creation steps.","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.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/","og_locale":"en_US","og_type":"article","og_title":"Run JSP in IntelliJ IDEA: Step-by-Step Guide","og_description":"Learn how to run JSP files in IntelliJ IDEA using Tomcat server. Includes setup, configuration, and project creation steps.","og_url":"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/","og_site_name":"Blog - Silicon Cloud","article_publisher":"https:\/\/www.facebook.com\/SiliCloudGlobal\/","article_published_time":"2024-03-14T16:33:52+00:00","article_modified_time":"2025-08-05T06:27:47+00:00","author":"Jackson Davis","twitter_card":"summary_large_image","twitter_creator":"@SiliCloudGlobal","twitter_site":"@SiliCloudGlobal","twitter_misc":{"Written by":"Jackson Davis","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/#article","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/"},"author":{"name":"Jackson Davis","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/55a10b8b0457c35884c25677889ad350"},"headline":"Run JSP in IntelliJ IDEA: Step-by-Step Guide","datePublished":"2024-03-14T16:33:52+00:00","dateModified":"2025-08-05T06:27:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/"},"wordCount":351,"publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"keywords":["IDE Configuration","IntelliJ IDEA","Java web development","JSP","Tomcat server"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/","url":"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/","name":"Run JSP in IntelliJ IDEA: Step-by-Step Guide - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/blog\/#website"},"datePublished":"2024-03-14T16:33:52+00:00","dateModified":"2025-08-05T06:27:47+00:00","description":"Learn how to run JSP files in IntelliJ IDEA using Tomcat server. Includes setup, configuration, and project creation steps.","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/blog\/how-to-execute-a-jsp-file-within-an-idea-software-platform\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.silicloud.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Run JSP in IntelliJ IDEA: Step-by-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/blog\/#website","url":"https:\/\/www.silicloud.com\/blog\/","name":"Silicon Cloud Blog","description":"","publisher":{"@id":"https:\/\/www.silicloud.com\/blog\/#organization"},"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.silicloud.com\/blog\/#organization","name":"Silicon Cloud Blog","url":"https:\/\/www.silicloud.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","contentUrl":"https:\/\/www.silicloud.com\/blog\/wp-content\/uploads\/2023\/11\/EN-SILICON-Full.png","width":1024,"height":1024,"caption":"Silicon Cloud Blog"},"image":{"@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SiliCloudGlobal\/","https:\/\/twitter.com\/SiliCloudGlobal"]},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/55a10b8b0457c35884c25677889ad350","name":"Jackson Davis","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.silicloud.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2fdb47d6df1226e92380d96973782572a97b0675d098bb914410dec348eb5d29?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2fdb47d6df1226e92380d96973782572a97b0675d098bb914410dec348eb5d29?s=96&d=mm&r=g","caption":"Jackson Davis"},"url":"https:\/\/www.silicloud.com\/blog\/author\/jacksondavis\/"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/12756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/comments?post=12756"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/12756\/revisions"}],"predecessor-version":[{"id":156588,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/posts\/12756\/revisions\/156588"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/media?parent=12756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/categories?post=12756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/blog\/wp-json\/wp\/v2\/tags?post=12756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}