Inspectopedia
 
2024.3

Absolute paths

Warning
Reliability
New
Last modified: 03 December 2024

Reports absolute paths in JSP files.

Absolute paths are prohibited in JSP, because they won't be resolved if your application context is not empty.

The quick-fix adds a dynamic prefix to your path.

Example:

After the quick-fix is applied: