Skip to content

Instantly share code, notes, and snippets.

@shaik2many
Last active September 6, 2016 17:26
Show Gist options
  • Save shaik2many/afcbcf60d88eb9169c56a74ac101a00d to your computer and use it in GitHub Desktop.
Save shaik2many/afcbcf60d88eb9169c56a74ac101a00d to your computer and use it in GitHub Desktop.
<cfobject action="create" type="java" class="java.util.Date" name="mydate">
<cfset mySimple = mydate.toString()>
<cfoutput>#mySimple#</cfoutput>
<CFOBJECT action=create
name=test
type="JAVA"
class="com.xtm.SAPConnect.Test">
<CFOBJECT action=create
name=prop
type="JAVA"
class="java.util.Properties">
<cfset me = prop.load(test.getClass().getResourceAsStream("sapconnect.properties")).getProperty("dslookup")>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment