-
Notifications
You must be signed in to change notification settings - Fork 0
YT09‐How to remove _war_exploded
Zhamri Che Ani edited this page Apr 10, 2026
·
1 revision
http://localhost:8080/CSC584_Enterprise_Programming_war_exploded/hello
The endpoint is too long. Why does _war_exploded appear?
- It is NOT from Tomcat
- It is from the IntelliJ IDEA deployment configuration
- Used by IntelliJ for fast development. It indicates the development product, not the production.
Go to:
Run → Edit Configurations → Tomcat → Deployment
You will see:
Application context:
/CSC584_Enterprise_Programming_war_exploded
Change it to:
/
or:
/csc584
Then URL becomes (refer example of servlet:
http://localhost:8080/csc584/hello
Go to:
Project Structure → Artifacts
Rename:
CSC584_Enterprise_Programming:war exploded
to:
myapp
Then URL becomes:
http://localhost:8080/myapp/hello