Inspiring
November 16, 2022
Question
Disable JSP functionality on CF2021
- November 16, 2022
- 3 replies
- 2803 views
Hi,
I read that you can disable JSP at least on CF 9 - https://www.3gpp2.org/cfdocs/htmldocs/Installing/WSf01dbd23413dda0e5753779b11fae614009-8000.html
by commenting out
<!-- <servlet-mapping> <servlet-name>JspLicenseServlet</servlet-name> <url-pattern>*.jsp</url-pattern> </servlet-mapping> --> in cf_root\WEB-INF\web.xml.
We are using the same website to host CF and Confluence (confluence runs jsp) with a URL rewrite rule
to redirect to a different port which works fine as long as the url does not have .jsp in it...
but if the url does have .jsp in it CF takes over and tries to process the page so
we want to disabke CF from taking over.
The issue is that I can't find JspLicenseServlet in cf_root\WEB-INF\web.xml.
Our web.xml is attached.
