L
L
LoliDeveloper2021-08-06 16:05:23
tomcat
LoliDeveloper, 2021-08-06 16:05:23

Why does Tomcat add an extra part of the url in the address bar?

In the address bar, the root of the server is this

http://localhost:8080/Gradle___com_example___WebAppJavaEE_1_0_SNAPSHOT_war/

How to remove this part from gradle etc?
I just want to http://localhost:8080/
use Intellij idea Ultimate. tomcat9. OS Linux.

On VDS I don't need this nightmare in the line.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Roo, 2021-08-06
@LoliDeveloper

You need an nginx or apache http server that will redirect requests from pretty url like
myawesomeurl.com/
to ugly
myawesomeurl.com:8080/Gradle___com_example___WebAppJavaEE_1_0_SNAPSHOT_war/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question