I can think of 2 reasons:
1) Wrong path: The path of the file you are editing is different from the path corresponding to the URL that you are opening in the browser. Verify this. Temporarily rename the file, and see what happens when you open the URL in a browser.
2) Caching: What the browser keeps opening might be a cached version of the page. Launch the ColdFusion Administrator and navigate to Server Settings => Caching. Make sure the option, Save class files, is unchecked. Press the button to Submit Changes
Number 2 solved it. It was a caching problem that I was able to clear using CF administrator. Thank You
Glad to hear. Please mark the correct answer - your own post if you wish! What is important is that this would help someone else who should come here looking for answers to a similar question. Thanks.