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

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
MagestiX
Posts: 22
Joined: 07 May 2023, 10:18

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

Post 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?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

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

Post by Lapo »

Lapo
--
gotoAndPlay()
...addicted to flash games
MagestiX
Posts: 22
Joined: 07 May 2023, 10:18

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

Post by MagestiX »

Oh, so it's only context relative. Oh well, I guess I will simplify the name then. Thanks for clarifying that :)
Post Reply