[jboss-jira] [JBoss JIRA] (WFLY-3744) ServletContext.getContextPath() for ROOT.war should be "", not "/"
Stuart Douglas (JIRA)
issues at jboss.org
Sun Sep 14 20:29:03 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas resolved WFLY-3744.
----------------------------------
Fix Version/s: 9.0.0.Alpha1
Resolution: Done
> ServletContext.getContextPath() for ROOT.war should be "", not "/"
> ------------------------------------------------------------------
>
> Key: WFLY-3744
> URL: https://issues.jboss.org/browse/WFLY-3744
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Reporter: Sean Flanigan
> Assignee: Stuart Douglas
> Fix For: 9.0.0.Alpha1
>
> Attachments: ROOT.war
>
>
> 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.3.1#6329)
More information about the jboss-jira
mailing list