Geronimo double slash “//” in urls with application having context root “/”

StackOverflow https://stackoverflow.com/questions/10888042

  •  12-06-2021
  •  | 
  •  

Вопрос

I am using Geronimo version 2.2.1. I am trying to deploy a war-file with its context-root set to / in geronimo-web.xml.

Now every time I navigate my application all the urls are rewritten with double forward slashes.

Examples:

http://mydomain:8080//login.jsp
http://mydomain:8080//home.html

How can I change the configuration so that only a single slash appears. I have found similar questions but none of them seem to have answers.

Это было полезно?

Решение

This is a known issue with Geronimo 2.2.1. You can see the details at Geronimo issue 6171.

The issue has been fixed and will be part of the next release. I have verified that everything works as expected using the latest snapshot of Geronimo 2.2.2.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top