olzha.blogg.se

Dynamic web project in intellij
Dynamic web project in intellij








List of deployment descriptors for your app Web Resource Directoriesĭirectories that contain your web app resources, such as web pages and images Source Roots

dynamic web project in intellij

In the left pane, select Modules or Facets.Ĭonfigure the following: Deployment Descriptors You can manage your web app deployment descriptors, web resource directories, and Java web source roots in the Project Structure dialog.įrom the main menu, select File | Project Structure or press Ctrl+Alt+Shift+S. If you want the deployment descriptor web.xml file to be created, select the Create web.xml checkbox. In the dialog that opens, select Web Application and select a version of the Servlet specification. In the Project tool window ( Alt+1), right-click the necessary module and select Add Framework Support. If you're using a build tool, such as Maven or Gradle, make all changes using the build file. This information is valid for projects that are built with the native IntelliJ IDEA builder. On the next step of the wizard, select the Java Enterprise version to be supported.įrom the Dependencies list, select Servlet.Īdd web application support to existing module If you don't have the necessary JDK on your computer, select Download JDK. If the JDK is installed on your computer, but not defined in the IDE, select Add JDK and specify the path to the JDK home directory.

dynamic web project in intellij dynamic web project in intellij

Select the Create Git repository option to place the new project under version control.įrom the JDK list, select the JDK that you want to use in your project. Name the new project, select a build tool, a language you want to use, and select the Web application project template. Create new web applicationĬlick New Project on the Welcome screen or select File | New | Project.įrom the Generators list, select Jakarta EE. If you enable Web Application support when creating a project or module and specify an application server, IntelliJ IDEA also creates a run/debug configuration for that server. When you enable Web Application support in IntelliJ IDEA, it can do the following:Ĭreate a web resource directory web with index.jsp intended as a starting page of your app and, optionally, a web app deployment descriptor WEB-INF/web.xml.Ĭreate a Web facet that lets you manage your deployment descriptors, web resource directories, and your Java web source roots.Ĭreate an Exploded WAR artifact configuration.










Dynamic web project in intellij