Guest User

Untitled

a guest
Jul 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. //引用包
  2. org.springframework.web.util.HtmlUtils;
  3. 调用
  4. HtmlUtils.htmlEscape(value);
  5. 读取展示页面时候,需要解码
  6. HtmlUtils.htmlUnescape(value);
Add Comment
Please, Sign In to add comment