Best of Talk (Weekend, 6/21/03 - 6/22/03)

 
Jul 19, 2003

by Dina Hess

Title: Log4j Problem Migrating J2SE App
Date: 06/21/03      4 Posts
Summary: A Java developer considers moving his JSP apps to CFMX until he discovers he has no control over the Java libraries that are included by CFMX. Solution? Consult the JRun docs for information about running CFMX in a separate context or server instance.
Related: Java Development Risk? (was: log4j Problem Migrating J2SE app)
 
Title: CF or .Net?
Date: 06/22/03      17 Posts
Summary: CFML offers a major advantage over other web application languages. It's easy to learn and quick to code with. That not only promotes an exceptionally fast time-to-market, it also reduces development costs. An overview of .NET and information about BlueDragon server products are also included.
 
Title: Money Datatype Problem
Date: 06/22/03      6 Posts
Summary: This snippet in the WHERE clause of a CFQUERY INSERT statement throws an error because single quotes enclose a number:

   <cfif len(trim(form.HourlyWage)) gt 0>
       '#trim(numberFormat(form.HourlyWage,"999.99"))#'
   <cfelse>
      NULL
   </cfif>
A good way to avoid this type of problem and replace the above code altogether is to trim the value beforehand and use CFQUERYPARAM.
 

Add a Comment
(If you subscribe, any new posts to this thread will be sent to your email address.)
  
Privacy | FAQ | Site Map | About | Guidelines | Contact | Advertising | What is ColdFusion?
House of Fusion | ColdFusion Jobs | Blog of Fusion | AHP Hosting