Skip to content

Instantly share code, notes, and snippets.

@roulupen
Created December 16, 2012 06:51
Show Gist options
  • Save roulupen/4303899 to your computer and use it in GitHub Desktop.
Save roulupen/4303899 to your computer and use it in GitHub Desktop.
Custom Tag - Part II
import com.allaire.cfx.* ;
public class HelloColdFusion implements CustomTag
{
public void processRequest( Request request, Response response )
throws Exception
{
String strName = request.getAttribute( "NAME" ) ;
response.write( "Hello, " + strName ) ;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment