CodeIn House

  • Laravel
  • WordPress
  • jQuery
  • Javascript
  • Contact
Home   JAVA   How to Remove Project Name from URL in JSP Project in Intell ...

How to Remove Project Name from URL in JSP Project in Intellij IDEA ?

September 3, 2022 by SNK

Remove Project Name from URL in JSP Project

Have you noticed ? Everytime we create a project in Intellij IDEA, project name is prefixed in url like http://localhost:8080/demo_war_exploded while building a JSP web project. It was very annoying and its need to be removed even while working locally.

I did tinkering around internet and found a lots of examples in esclipse but was not able to find for intellij IDEA while Intellij is the widely used IDE today.

So, Today we are going to see how to remove project name from url in jsp project. Let’s get started

Step 1

Go to Run/Debug configurations and click Edit Configuration.

Remove the demo_project_name from http://localhost:8080/demo_project_name similar to the image below.

Run / Debug Configuration

Step 2

Now, go to deployments and also replace /demo_project_name with just "/". Lastly apply and save.

Edit Context Path from Deployments

Step 3

Stop the server and re-run to check if the issue is solved. If you have any problem contact us via contact form.

SHARE ON
Buffer

Enjoyed this article?

Like us on

JAVA remove project from url in intellij remove project url in jsp

Avatar for SNK

About SNK

Hello Welcome to my Blog. I develop Websites Using Laravel Framwork & WordPress. Get Latest updates on Facebook | Twitter

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get Connected !! With Us

TOP POSTS

  • How to Setup Spring MVC Project From Scratch in Intellij IDEA ?
  • Spring Configuration Class in JAVA [Class VS XML Config]
  • Annotations Based Configuration in Spring Framework
  • How to Configure Spring Framework with XML Configurations?
  • How to Remove Project Name from URL in JSP Project in Intellij IDEA ?

TUTORIALS TILL DATE

  • September 2022 (6)
  • June 2021 (7)
  • October 2020 (5)
  • September 2020 (6)
  • September 2018 (14)
  • August 2018 (3)
  • July 2018 (4)
  • March 2018 (8)
  • February 2018 (5)
  • January 2018 (1)
  • December 2017 (2)
  • August 2017 (8)
  • May 2017 (1)
  • April 2017 (1)
  • March 2017 (4)
  • February 2017 (3)
  • January 2017 (4)

CATEGORIES

  • Angular (2)
  • CSS3 (3)
  • D3 (3)
  • HTML5 (7)
  • JAVA (11)
  • Javascript (20)
  • jQuery (8)
  • Laravel (35)
  • Others (3)
  • PHP (11)
  • Spring (2)
  • WordPress (10)

Top Categories

  • Angular
  • CSS3
  • D3
  • HTML5
  • JAVA
  • Javascript
  • jQuery
  • Laravel
  • Others
  • PHP
  • Spring
  • WordPress

Get in Touch

DMCA.com Protection Status

Recent Articles

  • How to Setup Spring MVC Project From Scratch in Intellij IDEA ?
  • Spring Configuration Class in JAVA [Class VS XML Config]
  • Annotations Based Configuration in Spring Framework
  • How to Configure Spring Framework with XML Configurations?
  • How to Remove Project Name from URL in JSP Project in Intellij IDEA ?

© 2012-22 CodeIn House.  •  All Rights Reserved.