Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ftl文件用什么html格式还是jsp页面格式打开呢 #29

Open
luoxianjiao opened this issue Jul 26, 2018 · 1 comment
Open

ftl文件用什么html格式还是jsp页面格式打开呢 #29

luoxianjiao opened this issue Jul 26, 2018 · 1 comment

Comments

@luoxianjiao
Copy link

ftl文件用什么html格式还是jsp页面格式打开呢,两种方式打开index.ftl文件时so.default和/@shiro.hasPermission <@shiro.hasPermission name="/permission/addPermission.shtml"> <#--添加权限-->eclipse会报红

@baichengzhou
Copy link
Owner

安装Freemarker插件,插件安装请看这里:https://www.sojson.com/blog/95.html
另外so.default抛红,但是不会影响使用,因为default是关键词,在IDEA里不会报错。
看不顺眼就用 so['default']替代,是同一个意思。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants