I am new user of coldfusion.I just started to learn coldfusion.
I made one file with the name "1_2.cfm"
<!--- Processing ---> <cfset myQuestion = "What is a variable?"> <cfset myAnswer = "Variables are named storage containers inside programming languages. Just think of variables as any type of named container holding any type of stored content. You simply name the container and store the content. Later you retrieve the content by using the same name."> <!--- Conenet ---> <cfoutput> <div> <h3>Question: #myQuestion#</h3> <p><strong>Answer:</strong></p> <p>#myAnswer#</p> <p>#now()#</p> </div> </cfoutput>
Following out put I got:
I have stored this file in directory "C:\apache-tomcat-5.5.23\webapps\mylogin"
and I am veiwing this file using tomcat server
Please help me how to run the cold fusion files.