Manage deployment descriptors, web resource directories, and Java web source roots 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 the Web Application option an 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. ![]() 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. Turn on the Web Application option Create a new web applicationĬlick New Project on the Welcome screen or select File | New | Project.įrom the Generators list, select Jakarta EE. If you turn on the Web Application option when creating a project or module and specify an application server, IntelliJ IDEA also creates a run/debug configuration for that server. With Web Application support, IntelliJ IDEA:Ĭreates 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.Ĭreates a Web facet that lets you manage your deployment descriptors, web resource directories and your Java web source roots.Ĭreates an Exploded WAR artifact configuration.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |