IntelliJ IDEA 2025.2 Help

Web Contexts

Use this dialog to specify the Web context settings that IntelliJ IDEA uses to resolve Web paths in HTML and JSP for a file, directory, or the entire project.

Install the Jakarta EE: Server Pages (JSP) plugin

This functionality relies on the Jakarta EE: Server Pages (JSP) plugin, which you need to install and enable.

  1. Press Ctrl+Alt+S to open settings and then select Plugins.

  2. Open the Marketplace tab, find the Jakarta EE: Server Pages (JSP) plugin, and click Install (restart the IDE if prompted).

Item

Description

Path

Select the file, or directory, or project to specify a Web context for.

Web Context

In this drop-down list, select the relevant Web context.

If you select the Clear option, Web paths in the corresponding file or directory are resolved using the Web context setting inherited from the parent.

02 June 2025