I took a minute to dig it up for you:
<cfset factory = createObject('java','coldfusion.server.ServiceFactory')>
<cfset mappings = factory.runtimeService.getMappings()>
>From there you can add and remove mappings as you please.
e.g.
Add a mapping:
<cfset mappings["/test"] = "C:\somedirectory">
Remove a mapping:
<cfset structDelete(mappings,"/test")>
This is undocumented, unsupported, may change in future releases etc.
Spike
On Wed, Feb 25, 2009 at 12:56 AM, Monica <[email protected]> wrote:
>
> > Wasn't there a method for setting mappings by dropping down into java
> that
> > worked on CFMX7? Don't know if that would actually help, but I remember
> > using that approach in a similar situation once.
>
> Wow, that would be perfect! I'm going to start researching this.
> >
>
--
Nando M. Breiter
The CarbonZero Project
CP 234
6934 Bioggio
Switzerland
+41 76 303 4477
[email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---