# Not able to set jsp in property hst:renderpath for template

**URL:** <https://community.bloomreach.com/t/not-able-to-set-jsp-in-property-hst-renderpath-for-template/939>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [April 4, 2019, 9:18am UTC](https://community.bloomreach.com/t/not-able-to-set-jsp-in-property-hst-renderpath-for-template/939 "2019-04-04T09:18:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sagar](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/sagar/32/270_2.png) [@sagar](https://community.bloomreach.com/u/sagar)\
**Post date:** [April 4, 2019, 9:18am UTC](https://community.bloomreach.com/t/not-able-to-set-jsp-in-property-hst-renderpath-for-template/939/1 "2019-04-04T09:18:04Z")

</div>

Hello,  
I am trying to use JSP instead of .ftl files. I have added one template and trying to set my jsp file path (pdp.jsp). But I am getting jsp file not found error though jsp file exist in the path. if I change it to .ftl (pdp.ftl) then it works. I want to use jsp tags so trying to add files. Here is the screenshot from cms/console

 ![Screenshot%20from%202019-04-04%2014-38-43](https://canada1.discourse-cdn.com/flex027/uploads/bloomreach1/original/1X/e23cef1db39e42b9c50d5aec7412c71bfcce9020.png)

Thanks

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [April 4, 2019, 9:43am UTC](https://community.bloomreach.com/t/not-able-to-set-jsp-in-property-hst-renderpath-for-template/939/2 "2019-04-04T09:43:00Z")

</div>

You cannot use JSP files as webfiles…those needs to be pre-compiled (so, you need to package them within war. file and no hot-reloading is possible by utilizing webfiles feature).  
Either stick with FTL or you could try one of these:

[https://bloomreach-forge.github.io/templating-support/](https://bloomreach-forge.github.io/templating-support/)

---

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [April 4, 2019, 12:03pm UTC](https://community.bloomreach.com/t/not-able-to-set-jsp-in-property-hst-renderpath-for-template/939/3 "2019-04-04T12:03:49Z")

</div>

Or you should put your .jsp files in the standard webapp resource locations, not in **webfiles** –which is a brXM specific solution, such as:

- `/WEB-INF/jsp/gogreen/pdp.jsp` (with setting `hst:renderpath` to `jsp/gogreen/pdp.jsp`)
- or `/myjspexamplefolder/gogreen/pdp.jsp` (with setting `hst:renderpath` to `/myjspexamplefolder/gogreen/pdp.jsp`.

If the `hst:renderpath` doesn’t start with `/`, HST finds it under `/WEB-INF`. Otherwise, just find it from the application context path directly.

Woonsan

---

<div class="post-metadata">

**Author:** ![sagar](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/sagar/32/270_2.png) [@sagar](https://community.bloomreach.com/u/sagar)\
**Post date:** [April 4, 2019, 1:28pm UTC](https://community.bloomreach.com/t/not-able-to-set-jsp-in-property-hst-renderpath-for-template/939/4 "2019-04-04T13:28:03Z")

</div>

Thank you woonsan, for reply. This helped me 👍
