javastruts2struts-tags

URLDecoderUtil class is removed from struts2-core 6.3.0.2 version. What is the alternative for this class in the latest versions?


URLDecoderUtil (org.apache.struts2.util.URLDecoderUtil) class is removed from struts2-core 6.3.0.2 version. What is the alternative for this class in the latest versions?

Found an alternative URLDecoder class (org.apache.struts2.url.URLDecoder)


Solution

  • You can use StrutsUrlDecoder. It is responsible for decoding a x-www-form-urlencoded string and query string.

    It implements UrlDecoder interface.

    URL Decoder used internally by Struts

    • @since Struts 6.1.0