javascript not getting injected into servlet pages through RPA

I am using one of the RPA tool to inject my JavaScript into an application which is made on Servlet/JSP pages. But I am unable to do so. While on the HTML pages, JavaScript works..Please suggest appropriate solution if this issue is related to my tool or application.

Tags: