web
文章平均质量分 79
jjdexiao521
这个作者很懒,什么都没留下…
展开
-
javascript正则表达式--我的理解
今天刚接触javascript,为了让自己以后看起来方便一点,做了一些自己的理解:首先看一个例子: 正则表达式修饰符 g:全文 i :忽略大小写 m:多行查找//将字符串中第一个0 换为0<script> var str; str="1000110"; str=str.replace(/0/,"1"); alert(str); </script><scr原创 2017-09-19 13:26:55 · 255 阅读 · 0 评论 -
Tomcat安装与环境变量的配置
tomcat配置环境变量原创 2017-10-04 22:44:23 · 297 阅读 · 0 评论 -
SpringMVC跨域
由于时间比较赶,所以只能先完成一部分代码使用Jsonp/** * Created by maqiang on 2019/1/16. */$(document).ready(function(){ $.ajax({ url: "http://localhost:8081/springmvcdongjinfenli/index", type : "GE...原创 2019-01-16 23:17:54 · 187 阅读 · 0 评论 -
一次调试dispatcherServlet
/** * Map config parameters onto bean properties of this servlet, and * invoke subclass initialization. * @throws ServletException if bean properties are invalid (or required * properties are...原创 2019-02-08 20:22:17 · 1469 阅读 · 0 评论 -
国际化出现?
springboot国际化出现?我真的蠢我真的蠢这是因为要配置spring.messages.basename=i18n.login可能这个你忘记配置了,再全局配置文件中,默认的文件名字应该放在resource下叫message,但是我这里改了...原创 2019-03-11 22:44:21 · 181 阅读 · 0 评论 -
常见的SPRINGMVC问题(1)
SpringMVC@RequestParam@RequestParam(name = "teacherId" ,required = true) int teacherId如果是@RequestParam(name="xx",required = false) int tt如果给个默认值,只能是String类型如果给默认值@RequestParam@RequestParam(name = “t...原创 2019-06-08 11:27:18 · 959 阅读 · 0 评论 -
SpringMVC常用操作(2)
Springmvc SpringBoot2中的拦截器配置SpringBoot2中的拦截器配置@Configurationpublic class MyMvcConfigSecond implements WebMvcConfigurer { @Value("${springbootdo.videoPath}") private String videoPath; @O...原创 2019-06-08 18:42:44 · 131 阅读 · 0 评论