Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我隐约记得在某处读过 HtmlUnit 可用于过滤 html 字符串以防止 XSS,但无法找到任何线索。HtmlUnit 是否提供此功能,还是我需要使用 JSoup 或其他东西?
谢谢,桑杰