我想读我创建的XML文件中的一些值XML节点的元素,但它给了我下面的错误: coldfusion.runtime.UndefinedElementException: Element MYXML.UPLOAD is undefined in XMLDOC.
这里是我的代码 <cffile action="read" file="#expandPath("./config.xml")#" var
我有一个循环查询sql查询的问题,如果查询不是null,那么我必须显示一些html标记。问题是让我们说,查询找到3项,它会显示3x文件,而不是1x。 这里是我的代码: <cfquery name="client_id" datasource="#application.dsn#">
Select borrower_id,client_id,id from contracts where
我是ColdFusion的新手,我创建了一个result.cfm页面,现在我只想在用户调用/result.cfm时在Application.cfc中执行一些操作。类似下面: <cfif 'if the request is for result.cfm'>
<!-- do some action -->
</cfif> 有什么办法来处理这个请求?