Just change the context path in the context XML files for your webapp from
'/ws' to '/'.



On Tue, 10 Aug 2021, 23:02 Alexander Farber, <[email protected]>
wrote:

> The answer at Stackoverflow by Joakim is as always very informative, thank
> you for pointing to it.
>
> I just have one open question left: if I would like to serve 3 different
> things by Jetty - the 2 static subfolders (/images and /sounds) and one
> servlet (at /, serving Websockets, GET, POST) - then should I put them all
> in one XML config files (and what it the name, is it
> org.eclipse.jetty.server.handler.ContextHandler ?) or should I use 3
> different XML files?
>
> Best regards
> Alex
>
>
> On Tue, Aug 10, 2021 at 2:50 PM Alexander Farber <
> [email protected]> wrote:
>
>>
>> On Tue, Aug 10, 2021 at 12:42 PM <[email protected]> wrote:
>>
>>> https://stackoverflow.com/a/68682598/458157
>>>
>> Ah the longest match is used? I was assuming the folder order in the
>> config files and maybe thus I was having problems
>>
>> _______________________________________________
> jetty-users mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to