zoukankan      html  css  js  c++  java
  • 分布式继承初步认识

    1:如果使用restful风格,当为ajax时,主界面无法跳转,但控制台会报有没有出错,比如UserController里面有user下的post提交,使用ajax跳转到user且使用post提交会成功,当User下
    无post提交方法,且PageController正好接受到了User这个关键字的话,则会跳转到user.jsp,但由于ajax原因,不会成功跳转,所以当有user.jsp不会报404,否则会报404,综合来看,
    ajax提交会先判断有无对应的地址名下的提交方式,没有的话则会找PageController,PageController跳转的地址无的话则会报404
    2.restful风格put,delete提交需要在web-xml中添加一个过滤器,转换
    3.导出excel需要poijar包
    4.ajax返回map时,状态码需要使用success function获得,而ResponseEntity时。则通过statusCode获得
    5.返回ResponseEntity时,如果返回带值的话,则用ResponseEntity<EasyUIResult>(后面用.body),不带值的话,则用ResponseEntity<Void>(后面用.bulid)
    6.通用Mapper继承的泛型需要确定
    7.EasyUIResult实体类的属性名不能变更,因为与前台是一致的.

    8.通用Mapper需要配置文件.

  • 相关阅读:
    httpsqs消息队列
    Memcache 配置和使用
    nyist 68三点顺序
    nyist 67三角形面积
    rwkj 1363 正方形 长方形 三角形面积
    rwkj 1359 友元:两点距离
    rwkj 1357 矩形--面积-周长
    rwkj 1356 点与矩形
    rwkj 1354 圆周长与面积
    rwkj 1327 圆柱体体积
  • 原文地址:https://www.cnblogs.com/1556553526qq-com/p/11651056.html
Copyright © 2011-2022 走看看