Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #30554 All Revisions ] Back to Issue ]
Summary 0030554: API change required for GEN_TARGET_LOCATION public constant
Revision 2015-08-12 09:11 by caristu
Description In order to deploy the sources properly in Tomcat 8, the getRealPath(path) method of the ServletContext class requires that the path passed as parameter to begin with a slash.

The GEN_TARGET_LOCATION constant of the StaticResourceComponent class, is being passed as parameter to that method. For this reason it makes sense that the value of the constant would be "/web/js/gen" instead of its current value without the slash at the beginning "web/js/gen".

This change does not have any effect on previous Tomcat versions.
Revision 2015-08-12 09:10 by caristu
Description In order to deploy the sources properly in Tomcat 8, the getRealPath(path) method of the ServletContext class requires that the path passed as parameter begins with a slash.

The GEN_TARGET_LOCATION constant of the StaticResourceComponent class, is being passed as parameter to the method. For this reason it makes sense that the value of the constant would be "/web/js/gen" instead of its current value without the slash at the beginning "web/js/gen".

This change does not have any effect on previous Tomcat versions.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker