[jboss-jira] [JBoss JIRA] (WFLY-3744) ServletContext.getContextPath() for ROOT.war should be "", not "/"

Sean Flanigan (JIRA) issues at jboss.org
Tue Aug 19 01:57:30 EDT 2014


Sean Flanigan created WFLY-3744:
-----------------------------------

             Summary: ServletContext.getContextPath() for ROOT.war should be "", not "/"
                 Key: WFLY-3744
                 URL: https://issues.jboss.org/browse/WFLY-3744
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Web (Undertow)
            Reporter: Sean Flanigan
            Assignee: Stuart Douglas


According to JavaDocs (ServletContext.getContextPath and HttpServletRequest.getContextPath): "For servlets in the default (root) context, this method returns "". "

Using latest 9.0.0.Alpha1-SNAPSHOT nightly build from https://ci.jboss.org/hudson/job/WildFly-latest-master/1334/ the value is returned in both cases as "/" rather than "" (empty string).



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list