I cannot use REST API here. I just get the JSON objects from a third party. How are they sending it doesn't matter to me .
I just have to retrieve the JSON objects and send an appropriate response back to them. But I'm not getting a proper code to get those JSON objects sent by them.
<Protocol:>/contextname/ValidateAccount
here "ValidateAccount.java" is my page to which they are going to send the below
{"req":[{"name":"abc","clientid":"SAMPLE"}]}