Get the url from which AEM form is submitted
I have an Adaptive AEM form component that submits data to rest end point.
The data that is submitted in the form is obtained in slingservlet.
I want to get the path of the url in SlingServlet from where form is submitted.
I try to use request.etResourceURI(). This gives the path of AEM form submit jsp.
How can i get the path of the page in my Sling Servlet.
Any help is much appreciated.
Thanks