Get the url from which AEM form is submitted

Avatar

Avatar

Hina29

Avatar

Hina29

Hina29

22-08-2017

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

Replies

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

22-08-2017

Avatar

Avatar

Hina29

Avatar

Hina29

Hina29

22-08-2017

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

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.7K

Likes

1.0K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.7K

Likes

1.0K

Correct Reply

1.1K
kautuk_sahni
Community Manager

23-08-2017

Moving this to AEM Forms topic.

~kautuk

Avatar

Avatar

Shivanna

Avatar

Shivanna

Shivanna

06-02-2020

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