New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExternalContext.getRealPath() on startup and shutdown #821
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
|
Looking at the methods which are valid to be called on application startup or
shutdown on ExternalContext, it seems like it was forgotten to include
getRealPath(String path), because all methods which are valid to be called only
rely on the ServletContext and this one also only relies on the ServletContext
(or on the PortletContext in a Portlet environment).
However since the behavior of all methods which are not documented as "valid to
call this method during application startup or shutdown" is undefined, it is
valid to implement this method also for startup and shutdown in JSF 2.0, but it
should be added in the spec javadoc that this one must be available for startup
and shutdown.
Environment
Operating System: All
Platform: All
Affected Versions
[2.0]
The text was updated successfully, but these errors were encountered: