Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Operating System: Windows XP
Platform: PC
Description
from supportilla 3800:
Chart component doesn't properly resolve web-context root if there's an
application.xml file that declares the web-uri off the main root context like:
<application>
<display-name>vs</display-name>
<module>
<web>
<web-uri>web</web-uri>
<context-root>/vs</context-root>
</web>
</module>
</application>
Chart component doesn't properly resolve web-context root if there's an
application.xml file that declares the web-uri off the main root context like:
<application>
<display-name>vs</display-name>
<module>
<web>
<web-uri>web</web-uri>
<context-root>/vs</context-root>
</web>
</module>
</application>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
It came accross that OCJ4 does not add a forward slash at the end of the path unless specified. The following code has been replaced:
folder =
((ServletContext) getFacesContext().getExternalContext()
.getContext()).getRealPath("charts");
with
folder =
((ServletContext) getFacesContext().getExternalContext()
.getContext()).getRealPath("/charts");
-revision 13481