priya Jain
priya Jain

Reputation: 69

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)

Upvotes: 1

Views: 106

Answers (1)

Roman C
Roman C

Reputation: 1

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

Upvotes: 2

Related Questions