Say you have an array for which theithelement
is the price of a given stock on dayi.If you were only permitted to complete at
most one transaction (ie...
分类:
其他好文 时间:
2014-05-02 00:37:20
阅读次数:
349
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition...
分类:
数据库 时间:
2014-05-01 18:16:35
阅读次数:
377
今天有个需求需要在url中传入中文参数,结果在后台取得时出现乱码,怀疑可能是编码问题,上网查询了资料,试了几种办法,发现有一种可行,记录在此,以便查阅。
url中用encodeURI 进行2次编码:
Ext.Ajax.request({
url:"updateadminuser.do?"+userid+"&uname="+encodeURI(encodeURI(uname)),
succ...
分类:
Web程序 时间:
2014-04-27 21:48:59
阅读次数:
342