geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay D. McHugh (JIRA)" <>
Subject [jira] [Updated] (GERONIMO-5743) ServletContext.getRealPath() returns null
Date Tue, 16 Aug 2011 20:04:27 GMT


Jay D. McHugh updated GERONIMO-5743:

    Comment: was deleted

(was: Is this happening for Tomcat or Jetty (or both)?

And, is it returning null when you do not send it a parameter - or when there is a parameter
passed in too?)

> ServletContext.getRealPath() returns null
> -----------------------------------------
>                 Key: GERONIMO-5743
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 3.0-M1
>            Reporter: Jarek Gawor
>            Assignee: Ivan
>             Fix For: 3.0
> In 3.0 M1 and trunk, ServletContext.getRealPath() returns null. In previous versions
of Geronimo a real path was returned. Returning null is ok from specification point of view
but it breaks compatibility for applications. It also looks like there are a number of web
applications that rely on the getRealPath() to return a non-null value. One such application
is Nexus web app.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message