开发者

How to modify fix coldfusion .cfc file

I am not a coldfusion programmer, but I found one line in a CFC file that needs to be changed. and I need help in determining the exact steps to adjust this file which is down C:\ColdFusion8\wwwroot\cfm, save and recompile and deploy. Could someone tell me the exact steps. I just need to change one variable from singular to plural. How do I do this开发者_Python百科 recompile and get everything running again? Thanks


  1. Open in text editor.
  2. Make change.
  3. Save.

ColdFusion is not a compiled language.

The only thing you may also need to do is clear the trusted cache, if its on, which by default, it is not.

To do that, you would log into your servers ColdFusion administrator (http://servername/CFIDE/administrator) go to "Caching" in the left hand menu scroll down and click "Clear Template Cache Now".


you have to execute this script to refresh your web service

<cfscript>
// service wsdl file
sdl   =   'http://..../web_service/service_name.cfc?wsdl';
// create object
factory = CreateObject('JAVA', "coldfusion.server.ServiceFactory");
// reference to the XmlRpcService
RpcService = factory.XmlRpcService;
// refresh the object in question
RpcService.refreshWebService(sdl);
</cfscript>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜