IntelliJ idea 12 Creating a Web Project tutorial Hyper-detailed version

Source: Internet
Author: User

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 >

Transferred from: http://www.cnblogs.com/cnjava/archive/2013/01/29/2881654.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.