java - 同一个controller,都是return的字符串,为什么有的对应到jsp文件有的对应到templates文件?
黄舟
黄舟 2017-04-18 10:55:09
0
1
481



return "createUserForm";对应到jsp文件中的jsp文件
return "admin/dynUserView";则对应到templates/admin/文件夹下的dynUserView.ftl文件?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
左手右手慢动作

You can find out by taking a look at the configuration rules of InternalResourceViewResolver
The one below is another method of redirecting access. . .

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!