[jboss-jira] [JBoss JIRA] (WFLY-2265) WebUtils#getRealPath("config-data/TESTDEV") cannot be resolved to absolute file path

zhihong liu (JIRA) jira-events at lists.jboss.org
Tue Oct 8 23:10:03 EDT 2013


     [ https://issues.jboss.org/browse/WFLY-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

zhihong liu updated WFLY-2265:
------------------------------

    Summary: WebUtils#getRealPath("config-data/TESTDEV") cannot be resolved to absolute file path  (was: WebUtils#getRealPath("/config-data") cannot be resolved to absolute file path)

    
> WebUtils#getRealPath("config-data/TESTDEV") cannot be resolved to absolute file path
> ------------------------------------------------------------------------------------
>
>                 Key: WFLY-2265
>                 URL: https://issues.jboss.org/browse/WFLY-2265
>             Project: WildFly
>          Issue Type: Bug
>          Components: Web (JBoss Web)
>    Affects Versions: 8.0.0.Beta1
>         Environment: Windows 7
>            Reporter: zhihong liu
>            Assignee: Remy Maucherat
>              Labels: jboss
>             Fix For: 8.0.0.Beta1
>
>   Original Estimate: 3 weeks
>  Remaining Estimate: 3 weeks
>
> In windows , when use the WebUtils.getRealPath("config-data/TESTDEV") , it returns error message : ServletContext resource [/config-data/TESTDEV] cannot be resolved to absolute file path.
>  but WebUtils.getRealPath("/") can return the true path . that is to say , this method can't parse the backslash followed by a string . but it works good in linux/unix .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list