mardi 30 novembre 2021

How to solve the problem that resultMsg of spring security loginChk.json is broken?

How to solve the problem that resultMsg of spring security loginChk.json is broken?

The settings in security-context.xml are as follows:

         <sec:form-login login-page="/login/index.do"
                         login-processing-url="/login/loginChk.json"/>

At this time, when the login information is entered incorrectly in login/index.do, the result is received as follows.

loginChk.json preview

{resultCd: "fail",… }
resultCd: "fail"
resultMsg: "ì•„ì ´ë"” ë¹„ë°€ë²ˆí ¸ê°€ 맞지 ìŠìŠµë‹ˆë‹¤. ¸í•´ì£¼ì„¸ìš”."

I want to check the contents of resultMsg, but I am wondering how to solve the problem that comes out like a foreign language.

Best Regards!




Aucun commentaire:

Enregistrer un commentaire