• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






小苗苗的博客

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5

2020年11月16日

前后端数据交互(json)
摘要: 参数前要加上@RequestBody注解,参数类型可以是JSONObject、String,entity. 1 @RequestMapping(value="test",method=RequestMethod.POST,produces="application/json;charset=utf- 阅读全文
posted @ 2020-11-16 16:59 小苗苗呀 阅读(561) 评论(0) 推荐(0)
 

2020年11月13日

正则表达式匹配html标签里的中文
摘要: 1 String str="<li>申办</li><li class=\"arrow\"></li><li>受理</li><li class=\"arrow\"></li><li class=\"cb\"><h2 id=\"chengban\" class=\"ready\">承办</h2><ul> 阅读全文
posted @ 2020-11-13 10:02 小苗苗呀 阅读(477) 评论(0) 推荐(0)
 

2020年11月6日

excel创建行、插入行、设置样式
摘要: 1 package com.thinkgem.jeesite.modules.result.utils; 2 3 import java.io.IOException; 4 import java.io.OutputStream; 5 import java.util.Date; 6 7 impor 阅读全文
posted @ 2020-11-06 15:25 小苗苗呀 阅读(568) 评论(0) 推荐(0)
 

2020年10月16日

浏览器标题左侧的logo
摘要: 在<head>标签中加入下面的代码: <!-- url表示图标的地址 --><link rel="shortcut icon" href="url"> 阅读全文
posted @ 2020-10-16 12:06 小苗苗呀 阅读(109) 评论(0) 推荐(0)
 

2020年10月15日

jQuery 的trigger()函数
摘要: <%@ page contentType="text/html;charset=UTF-8" %> <%@ include file="/WEB-INF/views/include/taglib.jsp"%> <html> <head> <title></title> <meta name="dec 阅读全文
posted @ 2020-10-15 17:44 小苗苗呀 阅读(169) 评论(0) 推荐(0)
 

2020年9月3日

springMVC文件上传与下载
摘要: /** *文件上传 */ 1 @RequestMapping(value = { "download" }) 2 @ResponseBody 3 public void download( 4 HttpServletResponse response, HttpServletRequest requ 阅读全文
posted @ 2020-09-03 16:07 小苗苗呀 阅读(184) 评论(0) 推荐(0)
 

2020年9月2日

demo_form.jsp
摘要: <%@ page contentType="text/html;charset=UTF-8" %> <%@ include file="/WEB-INF/views/include/taglib.jsp"%> <html> <head> <title></title> <meta name="dec 阅读全文
posted @ 2020-09-02 11:08 小苗苗呀 阅读(226) 评论(0) 推荐(0)
 
表单效验-layui
摘要: function checkData(){ if($("input[name='regionName']").val()==""){ layer.msg("所属地区不能为空", {icon: 2,time:2000}); return false; } if($("input[name='phone 阅读全文
posted @ 2020-09-02 11:03 小苗苗呀 阅读(204) 评论(0) 推荐(0)
 
树结构-配置
摘要: 1 @ResponseBody 2 @RequestMapping(value = "treeData") 3 public List<Map<String, Object>> treeData(@RequestParam(required=false) String extId, HttpServ 阅读全文
posted @ 2020-09-02 10:49 小苗苗呀 阅读(180) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5