# Web Contexts

> **TL;DR**
> `File | Settings | Languages & Frameworks | Web Contexts` for Windows and Linux
>
>
>
> `IntelliJ IDEA | Settings | Languages & Frameworks | Web Contexts` for macOS

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.

Procedure: Install the Jakarta EE: Server Pages (JSP) plugin

This functionality relies on the [Jakarta EE: Server Pages (JSP)](https://plugins.jetbrains.com/plugin/13152-jakarta-ee-server-pages-jsp-)  plugin, which   you need to install and enable.

> **Note:**
> The Jakarta EE: Server Pages (JSP) plugin is not available in IntelliJ IDEA without the Ultimate subscription.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) 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.   > **Tip:** > Expand the nodes in the tree until you access the required item.    |
| 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.                  |

## See also

### Procedures

[Web applications](developing-web-applications.html)

