作者:疯子zls_565 | 来源:互联网 | 2023-09-25 20:55
Ihaveajavaadapter(JAX-RS)thatreturnsaPOJO,oneoftheattributesiscalledvalidateUserand
I have a java adapter (JAX-RS) that returns a POJO, one of the attributes is called validateUser
and is a boolean
value. I want to get the value of this boolean when called from main.js
我有一个返回POJO的java适配器(JAX-RS),其中一个属性叫做validateUser,是一个布尔值。我想从main.js调用时获取此布尔值
It should work like this (main.js):
它应该像这样工作(main.js):
onGetLoginSuccess function (response)
busy.hide ();
alert ("validate:" + response ["validateUser"]);
As I can get the value in the variable response, the validateUser
attribute my POJO.
因为我可以获得变量响应中的值,所以我的POJO是validateUser属性。
Thank you for your attention
感谢您的关注
1 个解决方案