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

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

  •  12-06-2021
  •  | 
  •  

Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top