IntelliJ IDEA 2018.2 Help

Web Contexts

File | Settings | Languages and Frameworks | Web Contexts for Windows and Linux
IntelliJ IDEA | Preferences | Languages and Frameworks | Web Contexts for macOS


Use this dialog box 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.

The dialog box is available only when the Java Server Pages Integration plugin is installed and enabled. The plugin is bundled with IntelliJ IDEA and activated by default. If it is not, enable it as described in Managing Plugins.

ItemDescription
File/DirectorySelect the file, or directory, or project to specify a Web context for.
Web ContextIn 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.

Last modified: 4 September 2018

See Also

Procedures: