jsp读取properties文件

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");






 

posted @ 2014-02-21 19:51  Myna Wang  阅读(505)  评论(0编辑  收藏  举报
免费流量统计