Oracle EBS JSP实现QRCode二维条码
需求背景 Tomcat Web PC JSP PC PC 业务需求 XML Oracle Report Builder JSP Oracle EBS 前提条件 VI QR Code : Oracle EBS JSP QR Code 实现原理 利用JSP Java JSP : <%@ page language="java" import="java.util.*" import = "java.awt.*" import = "java.awt.Graphics2D" import = "java.awt.image.BufferedImage" import = "javax.imageio.*" import = "com.swetake.util.Qrcode" %> <% Qrcode qrcode=new Qrcode(); //获得条码字符串参数 String barCode=request.getParameter("BARCODE")==null?"No String,Please check!":request.getParameter("BARCODE"); barCode=new String(barCode.getBytes("iso-8859-1"),"utf-8"); //解决中文乱码问题 qrcode.setQrcodeErrorCorrect('S'