Adobe
9A0-127 · Question #38
You have configured the ColdFusion Web root directory to be C:\ColdFusion9\wwwroot. You have placed the components Anvil.cfc and Boomerang.cfc within the directory C:\com\acme. You want to use…
The correct answer is A. Within coyote.cfm, you reference the component com.acme.Anvil within a createObject function E. You add the mapping "/com" within the ColdFusion Administrator, pointing to the directory C:\com. See the full explanation below for the reasoning.
Question
You have configured the ColdFusion Web root directory to be C:\ColdFusion9\wwwroot. You have placed the components Anvil.cfc and Boomerang.cfc within the directory C:\com\acme. You want to use Anvil.cfc within the file C:\ColdFusion9\wwwroot\wile\coyote.cfm. Which two actions must you take to accomplish this? (Choose two.)
Options
- AWithin coyote.cfm, you reference the component com.acme.Anvil within a createObject function
- BYou add the directory C:\com\acme to the Custom Tag Paths within the ColdFusion Administrator.
- CYou use the CFIMPORT tag to import C:\com\acme as a tag library.
- DWithin coyote.cfm, you reference the component "/com/acme/Anvil.cfc" within the TEMPLATE attribute of
- EYou add the mapping "/com" within the ColdFusion Administrator, pointing to the directory C:\com.
How the community answered
(35 responses)- A80% (28)
- B11% (4)
- C6% (2)
- D3% (1)
Community Discussion
No community discussion yet for this question.