Hi @Dilli_babu_22 ,
In AEM data is stored in JCR in the forms of nodes and properties, So to save data in JCR, you need to create nodes or/and properties. In your servlet get the data and create node/property using JCR Node.
Please check below snippet, it is just for demonstration.
Create Component ...