Get the url from which AEM form is submitted | Community
Skip to main content
Level 2
Aug 22, 2017 6:47 PM UTC

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

kautuk_sahni
Employee
Aug 23, 2017 9:15 AM UTC

Moving this to AEM Forms topic.

~kautuk

Translate
Kautuk Sahni
Shivanna
Level 2
Feb 6, 2020 1:30 PM UTC

@kautuk_sahni @smacdonald2008 Hi, We are also facing the same issue. Is there any suggestions around the above issue? Thanks in adv.

Translate
smacdonald2008
Level 10
Aug 22, 2017 7:26 PM UTC

See this related Stackover flow thread: java - How to get html request URL in a servlet - Stack Overflow

Translate
Hina29Author
Level 2
Aug 22, 2017 10:02 PM UTC

Thanks donald. I am using the Adaptive AEM form on my page. How can i pass a hidden parameter with page url as value in AEM adaptive form.

Thanks

Translate