Home arrow ColdFusion arrow Page 5 - My First Application on ColdFusion MX Server
COLDFUSION

My First Application on ColdFusion MX Server


Like HTML, ColdFusion is a tag based language. If you have ever wanted to gain a working knowledge of ColdFusion, you will find this article to be a good place to start. It covers starting and stopping the MX 7 server, configuring a virtual directory, and testing the directory.

Author Info:
By: Jayaram Krishnaswamy
Rating: 5 stars5 stars5 stars5 stars5 stars / 46
August 08, 2005
TABLE OF CONTENTS:
  1. · My First Application on ColdFusion MX Server
  2. · Accessing Server Administration Panel from IIS
  3. · Creating a Virtual Directory to Publish CFM Files
  4. · Virtual Directory Properties
  5. · Creating a Web Page with the CFM Extension, our First ColdFusion Page
  6. · ColdFusion Tags CFSET and CFOUTPUT

print this article
SEARCH DEVARTICLES

My First Application on ColdFusion MX Server - Creating a Web Page with the CFM Extension, our First ColdFusion Page
(Page 5 of 6 )

Finally we have arrived at our final objective: to create a Web page with the CFM extension and test it in the Web server. In order to create a Web page, copy the following file index.cfm, and save it in the website content directory, MyCFusion whose directory path is: C:\Documents and Settings\computer user\ My Documents\MyCFusion. The index.cfm file is actually a html file with some ColdFusion specific tags. This is very similar to the other server side scripting tags with file extensions such as ASP, JSP, and so on.


<html>
<HEAD> 
<TITLE>Test Page</TITLE> 
</HEAD> 
<BODY> 
<h3>This is a test page</h3>
We are testing to verify if this can read a CFM file type when accessed by:
http://localhost/TestingCF<p></p>
<cfset strg="Welcome to ColdFusion MX 6.1">
<cfoutput>
#strg#
</cfoutput>
</BODY> 
<html>

When this file is saved in the MyCFusion directory, the index.cfm gets saved in not only MyCFusion, but will also appear in the virtual directory as shown.

index.cfm added to virtual directory


blog comments powered by Disqus
COLDFUSION ARTICLES

- Adobe ColdFusion Just Got More RAD
- How to Access a SQL Anywhere Database with C...
- CFXML: Probing XMLDOM in ColdFusion
- Creating a Web Service with ColdFusion: the ...
- CFAjax: What it is and How to Use it
- Querying SQL 2000 Server from ColdFusion
- Introduction to ColdFusion Markup Language, ...
- Introduction to ColdFusion Markup Language
- Databases and Dreamweaver MX 2004, concluded
- Databases and Dreamweaver MX 2004
- Welcome to Coldfusion MX 6.1, concluded
- Welcome to Coldfusion MX 6.1
- What You Must Know About ColdFusion Flow-Con...
- What You Must Know About Operators in ColdFu...
- Everything You Must Know About ColdFusion Va...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials