Skip to Content
0
Former Member
Nov 08, 2007 at 12:23 PM

How to access cmsconfig.xml file from class in WEB-INF/Classes folder

40 Views

Hello All,

I need to parse <b>cmsconfig.xml</b> which is present in <b>ServletExec AS\se-LHCMS\webapps\default\Lighthammer\WEB-INF\classes</b> folder ,to get the <b>location</b> attribute of <b>webroot-directory</b> node. I created one action block for this. It works perfectly fine when I execute it on local system.

But when I upload this action block on XMII server, it is not able to find the <b>cmsconfig XML</b> file at specified relative path. Instead it tries to find the cmsconfig.xml file in C:\WINDOWS\system32 dir.

Is their any way to access this file from class present in WEB-INF/Classes dir.