1.用第三方barCode4j包实现 http://www.iteye.com/topic/255428 http://www.iteye.com/topic/91632 2.用css生成的 http://hi.baidu.com/l3130y/blog/item/aae54b433be869179313c69b.html