jsp读取properties文件
jsp中读取properties文件,并把值设到js变量中:
mpi.properties文件内容:
MerchantID=00000820
CustomerEMail=136992@163.com
VirCardNoIn=000000000200
VerficationCode=hhdp2p
存储properties文件内容的jsp
String Verfication = ResourceBundle.getBundle("mpi").getString("VerficationCode");