最新回答 / qq_orientation_0
因为配置中没有默认的欢迎页,后面需要加上你的静态资源的名字就可以访问到你想访问的了,如果需要加入欢迎页,可以自定义一个实体类,然后继承于WebMvcConfigureAdapter就可以使用了,然后再重写addViewControllers方法就可以写入默认欢迎页的名称了。
2018-08-27
最新回答 / 慕娘6527991
你这个已经可以取得RequestContext了,但是Freemarker还不支持使用函数本身的方法,只支持内建函数和自定义函数以及宏,所以你这个要获取这个路径必须通过自定义函数来实现。
2018-06-07
最新回答 / 阿里资深架构师
刚开始学习,来一份HelloWorld,我用的maven,结构:<...图片...>pom.xml:<...code...>web.xml:<...code...>spring-beans.xml:<...code...>springmvc.xml:<...code...>HelloController:<...code...>MyAppListener:...
2018-02-10
最赞回答 / Jacky_lz
//创建接口public interface UserService{void user();}//创建class实现UserService接口public class UserServiceImpl implements UserService{public void user(){};}
2018-01-05
最新回答 / 来自火星的Mars
HTML IOS-8859-1 参考手册:http://www.w3school.com.cn/tags/html_ref_entities.html
2018-01-03