URLDecoderUtil (org.apache.struts2.util.URLDecoderUtil) 类已从 struts2-core 6.3.0.2 版本中删除。最新版本中此类的替代方案是什么?
找到了替代的 URLDecoder 类(org.apache.struts2.url.URLDecoder)
URLDecoderUtil
。它负责
解码 x-www-form-urlencoded
字符串和查询字符串。
充当正确 URL 解码实现的外观。从 Struts 2.3.25 开始,它使用 TomcatURLDecoderUtil
功能,而不是URLDecoder
中的功能。java.io