You're right Matt, for some reason I thought I'd tried that and ended
up at the wrong dir level.
So say I want to do this the right way, and parse web.xml to find the
location of the bluedragon xml config file.
Can you explain what braindead thing I'm doing that makes even this
simple XmlSearch not find anything:
<cfset filePath = ExpandPath('/WEB-INF/web.xml')>
<cffile action="READ" file="#filePath#" variable="fileText">
<cfset xmlDoc = XmlParse(fileText)>
<cfset nodes = XMLSearch(xmlDoc, '//servlet')>
That's not the real xpath expression yuo'd want, but even that basic
one returns nothing, so I must be asleep at the switch.
e
On Aug 24, 10:10 am, Matthew Woodward <[email protected]> wrote:
> I may be missing something but I think you're overcomplicating
> things--you can just do an expand path on
> /WEB-INF/bluedragon/bluedragon.xml within a given webapp and that will
> get you the file, unless the file is located elsewhere which is why I
> pointed out the init-param in web.xml. By default that's going to be
> /WEB-INF/bluedragon/bluedragon.xml though.
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
http://groups.google.com/group/openbd?hl=en
official site @ http://www.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---