[opencms-dev] Re: Saving a file in web context relative path, but only have an CmsObject

Thomas März thomas.maerz at gmail.com
Tue Apr 11 21:39:36 CEST 2006


Jorge González <informatico at hotelparadisepark.com> writes:

> I need to know how to extract the relative web path (on the real filesystem)
> so i can place there a folder structure with my thumbnails.

| org.opencms.main.OpenCms.getSystemInfo().getWebInfRfsPath();

,----
| Returns the OpenCms web application "WEB-INF" directory path.
| 
| public String getWebInfRfsPath() {
| 
|     return m_webInfRfsPath;
| }
`----


HTH.

Regards,
Thomas




More information about the opencms-dev mailing list