# Getting parameters from URL using JSP

**URL:** <https://forums.pega.com/t/getting-parameters-from-url-using-jsp/5620>\
**Category:** General\
**Tags:** system-administration, 8-5-5\
**Created:** [December 14, 2023, 2:36pm UTC](https://forums.pega.com/t/getting-parameters-from-url-using-jsp/5620 "2023-12-14T14:36:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![UdayVhanS16910699](https://avatars.discourse-cdn.com/v4/letter/u/7ab992/32.png) [@UdayVhanS16910699](https://forums.pega.com/u/UdayVhanS16910699)\
**Post date:** [December 14, 2023, 2:36pm UTC](https://forums.pega.com/t/getting-parameters-from-url-using-jsp/5620/1 "2023-12-14T14:36:46Z")

</div>

I am running a URL in the browser and want to fetch the parameters passed into the link using JSP. I want to use those parameters to run an activity in the backend.

I tried the following code:

\<%

String requestURL = request.getRequestURL();

String sectionName = request.getParameter(“SectionName”);

String id = request.getParameter(“Id”);

%\>

The “requestURL” object gets the value “/Non\_Interactive\_Session\_No\_Context/NonInteractive” and the “sectionName” and “id” returns null. I require the URL which I am passing in the browser or the parameters which I am passing in the URL.

Can someone please help me with this?

---

<div class="post-metadata">

**Author:** ![nathp](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nathp](https://forums.pega.com/u/nathp)\
**Post date:** [June 28, 2024, 9:33pm UTC](https://forums.pega.com/t/getting-parameters-from-url-using-jsp/5620/2 "2024-06-28T21:33:03Z")

</div>

Hi Uday,

I have same requirement, did you find a solution for this?

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [July 1, 2024, 9:47am UTC](https://forums.pega.com/t/getting-parameters-from-url-using-jsp/5620/3 "2024-07-01T09:47:04Z")

</div>

@nathp can you confirm that you posted this as a new post under your [Extract parameter from URL using JSP](https://support.pega.com/question/extract-parameter-url-using-jsp) question?

---

<div class="post-metadata">

**Author:** ![nathp](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@nathp](https://forums.pega.com/u/nathp)\
**Post date:** [July 1, 2024, 3:33pm UTC](https://forums.pega.com/t/getting-parameters-from-url-using-jsp/5620/4 "2024-07-01T15:33:20Z")

</div>

@MarijeSchillern yes i did
