Original: IntelliJ idea 12 Creating a Web Project tutorial Hyper-detailed version
IntelliJ Idea 12 new release the first time to the official website to see the black theme is very much used in the beginning is to use eclipse children's shoes
I guess it's hard to get out of eclipse.
First of all, in IntelliJ idea "new project" is the equivalent of our Eclipse "workspace", and "new Module" is to create a project.
There's a big difference between this and eclipse.
1. The default is not the black theme of the official website. You need to change the wrench icon on the toolbar or open the Setup window with Ctrl+alt+s.
On the left side of the open window, find the Appearance>theme select Darcula Theme app restart is OK
2. Chinese garbled problem software whether open project space or other font display not all Chinese are mouth
Workaround:
Appearance>override default fonts by (not recommended) front tick
At this point the Name drop-down box below is optional to find the Name:dialoginput.plain-size:12 app just OK
Here's how to start a Web project in one step
1. First create a project i.e. project space
2. Select a project type here, choose the Java Module Custom workspace name and path
3. Select the frame component you want to use only the first Web application > Finish is selected here
4. Created workspace By default is a module that is a project but is not recommended to use the project for development
5. Add a new project to the project space Select workspace Right-click Open Module Settings or press F4
6. Add a Project
Then finish find the new project under the Web>web-inf to create the classes and Lib folders
Modify the compiled output directory paths>use module compile output path go to the custom Classes folder
You can also specify the Lib library directory to add >jars or directories point to the Lib folder you created pop-up window select Jar Directory
Next deployment test configuration Tomcat Server Click on the arrow direction that drop-down place has an Edit server popup right window
Click the Green Add button > select Tomcat Server >local
Select the Deployed app
Start test ...
OK >
IntelliJ idea 12 Creating a Web Project tutorial Hyper-detailed version