Client Area
All-in-one service management,
billing & support, conveniently & securely
in one single feature rich place.

Portal Home > Knowledgebase > Windows Hosting > Windows (Helm USA) > ColdFusion > How do I create a mapping in ColdFusion MX?


How do I create a mapping in ColdFusion MX?




To use a custom mapping, in your application.cfm file, add some code like this:
<cfset request.pictures = "">http://www.test.test/gfx">
Then, in your actual web page, you would add code like this:
<cfoutput><img src="#request.pictures#/whatever.gif"></cfoutput>



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read