SunQuest
 
       ColdFusion
  Home arrow ColdFusion arrow Page 5 - My First Application on ColdFusion MX Serv...
IBM developerWorks
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
VeriSign Whitepapers 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
COLDFUSION

My First Application on ColdFusion MX Server
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2005-08-08

    Table of Contents:
  • My First Application on ColdFusion MX Server
  • Accessing Server Administration Panel from IIS
  • Creating a Virtual Directory to Publish CFM Files
  • Virtual Directory Properties
  • Creating a Web Page with the CFM Extension, our First ColdFusion Page
  • ColdFusion Tags CFSET and CFOUTPUT

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    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

    More ColdFusion Articles
    More By Jayaram Krishnaswamy


       · My plan is to write a tutorial series that would help someone beginning to use...
     

    COLDFUSION ARTICLES

    - 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...
    - My First Application on ColdFusion MX Server


    Iron Speed





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway