tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45484] ServletContext.getContextPath returns "" for the root context
Date Fri, 25 Jul 2008 17:03:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45484





--- Comment #1 from Eric Dalquist <eric.dalquist@doit.wisc.edu>  2008-07-25 10:03:58
PST ---
The empty context path for the root context appears to be set in HostConfig:882
which reads:

if (files[i].equals("ROOT"))
    contextPath = "";

I may try just changing that from "" to "/" and see what happens but I'm rather
concerned about unintended consequences of doing so.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message