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

Tomaz Cerar (JIRA) jira-events at lists.jboss.org
Tue Oct 22 04:39:02 EDT 2013


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

Tomaz Cerar reassigned WFLY-2265:
---------------------------------

    Assignee: Tomaz Cerar  (was: Remy Maucherat)

    
> 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
>      Security Level: Public(Everyone can see) 
>          Components: Web (JBoss Web)
>    Affects Versions: 8.0.0.Beta1
>         Environment: Windows 7
>            Reporter: zhihong liu
>            Assignee: Tomaz Cerar
>              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