URL to static images do not work post Pega 7 upgrade
Static images stored on the filesystem are no longer accessible through URLs in the format:
Steps to Reproduce
1. Create a directory in the web root folder / application war directory (prweb folder by default) or Extended Document Root containing images.
2. Attempt to access the images directly through URL to observe the issue.
Pega 7 uses a /* Servlet Mapping which means by default all requests are passed to the WebStandard servlet.
Comment out the <servlet-mapping> for the WebStandard <servlet-name> that has the /* <url-pattern> in the web.xml associated with the Pega 7 deployment as shown in the example image below.
Note that this change will mean that the system URL ending in prweb (for example, http://server:port/prweb) will no longer work and it will be necessary to use the URL including PRServlet (for example, http://server:port/prweb/PRServlet).
0% found this useful