Page 1 of 1

How to not to include servlet file name in the URL?

Posted: 24 Oct 2024, 09:19
by MagestiX
I have *.war file of my servlet which deployed into www/ using Servlet Manager in the Admin Panel.
Servlet URL is accessible when specifying servlet file name before internal servlet url mapping.
How can i avoid using servlet file name or map servlet to root (or any other custom value), while also preserving original file name?

Re: How to not to include servlet file name in the URL?

Posted: 25 Oct 2024, 06:47
by Lapo

Re: How to not to include servlet file name in the URL?

Posted: 25 Oct 2024, 10:55
by MagestiX
Oh, so it's only context relative. Oh well, I guess I will simplify the name then. Thanks for clarifying that :)