jsp部分 json字符串的属性应该都是实体类的属性 function saveCashier(){ layer.closeAll(); var Reapply = document.getElementById('isReapply'); if(actcardflag>0&&Reapply.checked){ isReapply=1; } var memo = $('#memo').val(); var customerName = $('#customerName'
spring mvc使用注解方式配制,以及对rest风格的支持,真是完美致极.下面将这两天研究到的问题做个总结,供参考.1.request对象的获取方式1:在controller方法上加入request参数,spring会自动注入,如:public String list(HttpServletRequest request,HttpServletResponse response)方式2:在controller类中加入@Resource private HttpServletRequest r
最近偷点时间更新一下框架,使用SpringBoot2.0 整套一起更新一下,发现些小问题 Spring data jpa getOne 返回的是代理对象,延迟加载的,ResponseBody成Json的时候会有序列化问题,网上的都说加上这个就好了,这样是能返回. @JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"}) 但是经过自定义的,但
Awesome Swift https://github.com/matteocrippa/awesome-swift A collaborative list of awesome Swift resources,inspired by awesome-python and listed on awesome-awesomeness. Feel free to contribute! Awesome Swift Demo Apps iOS Apple Watch OS X Dependency