Getting ready: Create your first javaweb project
Step3 to The guys who configured Tomcat for the first time. How to configure Tomcat
3.1 "Run"-"Edit configurations"
3.2 "Default"
3.4"Tomee server/local"-"Server"-"Configuration"
3.5 "1"-"2tomcat after decompression of the first level of the root directory is good, its next level has bin/conf, etc."
3.6 Configure the Tomcat directory is the sauce drip ~ ignore that warning~
3.7 "Deployment"-"+"
3.8 Point "Artifact"
3.9 automatically appears after the previous step 1,2,3. Where 3 can be customized to write a path, which is equivalent to "http:localhost:port/" in MyEclipse
If this is set to project1/, it is equivalent to "http:localhost:port/project1/"
Configuration is successful!
Mac under IntelliJ idea release Java Web project (for the guys who configured Tomcat for the first time) in detail two