久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

使用 Coldfusion 創建 QR 碼

Creating QR Code with Coldfusion(使用 Coldfusion 創建 QR 碼)
本文介紹了使用 Coldfusion 創建 QR 碼的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

有沒有人獲得開源二維碼庫"來使用 ColdFusion?我需要在 ColdFusion 中生成二維碼.

Has anyone gotten the "Open Source QR Code Library" to work with ColdFusion? I need to generate QR Codes in ColdFusion.

我還發現 本教程如何使用 Zxing 生成它.

I also found this tutorial on how to generate it using Zxing.

但是教程并不清楚如何配置文件,例如需要在哪個目錄中...

But the tutorial is not clear on how to configure the files, e.g. what needs to be in which dir...

歡迎任何幫助和替代方法,謝謝.

Any help and alternatives are welcomed, thanks.

推薦答案

Zxing 使用兩 (2) 個 jar:core.jarjavase.jar.安裝它們的最簡單方法是將兩個 jar 放在 CF 類路徑中的任何位置(例如:C:ColdFusion8wwwrootweb-inflib).然后重新啟動 CF 服務器.這就對了.

Zxing uses two (2) jars: core.jar and javase.jar. The easiest way to install them is to place both jars anywhere in the CF classpath (example: C:ColdFusion8wwwrootweb-inflib). Then restart the CF server. That is it.

注意:您可以自己編譯 zxing jar,也可以從 blog.getRailo.com) 更新: barcode_samples.zip 文件確實包含示例 CF 代碼.但它只適用于Railo.Adobe CF 不支持 createObject("java") 的額外參數.要在 Adob??e CF 中使用代碼,您需要刪除額外的參數.

Note: You can either compile the zxing jars yourself or download a slightly older version from this handy entry on blog.getRailo.com) Update: The barcode_samples.zip file does contain sample CF code. But it is for Railo only. Adobe CF does not support the extra parameters for createObject("java"). To use the code in Adobe CF, you need to remove the extra parameters.

<!--- Railo syntax --->
<cfset object = createObject('java','path.to.classtoinvoke','/path/to/jar/file/on/system')>
<!--- Adobe CF --->
<cfset object = createObject('java','path.to.classtoinvoke')>

如果您無權訪問類路徑,則可以使用 JavaLoader.cfc 來加載兩 (2) 個 zxing 罐子.只需下載該項目.它包括一些關于安裝和使用的很好的例子.但如果您還有其他問題,請告訴我.

If you do not have access to the classpath, you can use the JavaLoader.cfc to load the two (2) zxing jars instead. Just download the project. It includes some pretty good examples on installation and usage. But if you have further questions, let me know.

這篇關于使用 Coldfusion 創建 QR 碼的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How to wrap text around components in a JTextPane?(如何在 JTextPane 中的組件周圍環繞文本?)
MyBatis, how to get the auto generated key of an insert? [MySql](MyBatis,如何獲取插入的自動生成密鑰?[MySql])
Inserting to Oracle Nested Table in Java(在 Java 中插入 Oracle 嵌套表)
Java: How to insert CLOB into oracle database(Java:如何將 CLOB 插入 oracle 數據庫)
Why does Spring-data-jdbc not save my Car object?(為什么 Spring-data-jdbc 不保存我的 Car 對象?)
Use threading to process file chunk by chunk(使用線程逐塊處理文件)
主站蜘蛛池模板: 久久电影一区 | 二区中文 | 国产一区不卡 | 亚洲欧美视频一区 | 三级成人在线 | www亚洲一区 | 久久精品一 | eeuss国产一区二区三区四区 | 久久综合爱| 国产精品亚洲一区二区三区在线 | 午夜天堂精品久久久久 | 黑人巨大精品欧美一区二区免费 | 欧美a在线 | 欧美精品一区在线发布 | 国产91精品在线 | 99精品一级欧美片免费播放 | 午夜影院黄 | 日韩精品免费在线 | 精品欧美一区二区久久久伦 | 欧美日韩中文字幕 | 欧美在线免费 | av黄色片在线观看 | av在线影院 | 亚洲欧美中文日韩在线v日本 | 最新日韩精品 | 波多野结衣中文字幕一区二区三区 | 日本激情视频中文字幕 | 999久久 | 国产精品国产三级国产aⅴ原创 | 欧美一级片免费看 | 久久精品99 | 国产精品成人国产乱一区 | 精品久久久999 | 欧美一区二区三区免费电影 | 日韩视频在线免费观看 | 青青久久久 | 天天躁日日躁狠狠躁白人 | 伊人网站视频 | 91精品亚洲| 亚洲精品一区二区另类图片 | 伊人网综合在线观看 |