Skip to content

Instantly share code, notes, and snippets.

@namila007
Last active February 2, 2018 18:03
Show Gist options
  • Save namila007/65cb66e5cd87284e677e78855bf837fb to your computer and use it in GitHub Desktop.
Save namila007/65cb66e5cd87284e677e78855bf837fb to your computer and use it in GitHub Desktop.
Setting Up IntelliJ for Java Web and Tomcat Server

JavaEE-Web-App-Test

Trying JavaEE Web App with servelets

---How to Run---


Basic Setup for IntelliJ Idea

1 Go to edit Configurations

screenshot_1

2.Add Tomcat Local Server

screenshot_2

3. Relevent settings will automatically setup

screenshot_3

4. Go to Project Setting (ALT+Ctrl+Shift+S)

screenshot_4

5.Go to Module tab,select module folder, then click on Dependencies tab.

screenshot_14

6. Add Tomcat Library and tick Export

screenshot_6

screenshot_7

7. Add Facet Web and select Source Root

screenshot_9

screenshot_10

8. Add Artifact Web Exploded From modules

screenshot_11

screenshot_12

9. Compile and run :)

screenshot_13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment