Coldfusion code to get the mappings in the server

To find the mappings in the server, we can use the following code.

    <cfset  mappings = StructNew()>

    <cfset ServiceFactory = createObject("java","coldfusion.server.ServiceFactory")>
   
    <cfset mappings = ServiceFactory.runtimeService.getMappings()>
   
   <cfdump var="#mappings#">

Comments

Popular posts from this blog

how to add new line in google form questions | Fix for next line issue in google form questions

How to add new line in dropdown type question in google forms