
idea
爱哭
这个作者很懒,什么都没留下…
展开
-
idea springboot+springsecurity项目html界面跳转
1.不用thymeleaft 模板,直接controller层跳转controller层跳转 @RequestMapping("/")public String index1(){return "index1.html";}----------------------------------------------------------------------------------------...原创 2018-03-16 20:04:49 · 2323 阅读 · 0 评论 -
springboot 如何跳转jsp页面
springboot框架是没有跳转jsp页面.所以之前可以在idea上直接跳转html页面的前提下,在项目中按以下步骤执行便可让springboot跳转jsp页面。方法一:1.在application.prpperties /application.yml中添加spring.mvc.view.prefix=/spring.mvc.view.suffix=.jsp2.在pon.xml中加入<d...原创 2018-03-17 21:14:46 · 12393 阅读 · 6 评论 -
idea 如何新增Jsp
参考借鉴别人的博文实现完成后,做个笔记、1.在src 中webapp /WEB-INF/JSP2.File->Project Struction ->modules 按加号 新增web,双击web resource directory 修改路径 web resource directory path 为 当前项目目录/src/webapp ->WEB-INF->JSP 之后...原创 2018-03-12 10:16:53 · 9817 阅读 · 1 评论 -
idea静态界面无法访问
今天发现bug idea 无法访问静态页面 xxx.html 。正常情况下应该会访问:http://localhost:63342/xxx可以看一下这个端口是不是被占用了:netstat -aon|findstr "63342"查出进程号之后看看对应的进程是不是idea如果进程号是idea ,可以结束进程再打开,之后就可以访问啦...原创 2018-03-26 14:24:54 · 3076 阅读 · 0 评论