Intellij idea 12 creating a web project

Source: Internet
Author: User

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

Intellij idea 12 new version released first go to the official website to see the black theme is very powerful, the general use of the next for the first use of eclipse kids shoes

It is very difficult to get out of eclipse. Of course, I am also very difficult to go on the road...

First of all, "New Project" in intellij idea is equivalent to "workspace" in eclipse, and "new module" is used to create a project.

This is very different from eclipse.

 

1. The default theme downloaded from the official website is not black. Modify the wrench icon on the toolbar or use CTRL + ALT + S to open the setting window.

Find appearance> theme on the left side of the window and select darcula to restart the theme application.

2. Chinese garbled problem software is a verbal interface for opening a project or displaying incomplete Fonts

Solution:

Check the front of appearance> override default fonts by (not recommended)

The name drop-down box below shows the optional status. Find name: dialoginput. Plain-size: 12 and the application will be OK.

 

Next, create a web project step by step.

1. Create a projectThat is, the project

2. Select the project type. Here, select Java module to customize the workspace name and path.

3. Select the framework component to be used. Only the first web application> finish is selected.

4. After a workspace is created, a module or project is created by default, but this project is not recommended for development.

5. Right-click Open Module Settings or press F4.

6. Add a project

 

Then finish finding the Web> WEB-INF for the new project and creating the classes and Lib folders

Modify the compilation output directory paths> use module compile output path to the custom classes folder.

You can also specify the Lib library directory to add> jars or directories to the created lib folder. In the pop-up window, select jar directory.

 

Next, deploy, test, and configure the Tomcat server. Click the arrow in the figure to display the right window of the editing server in the drop-down area.

Click the Add button in green and select Tomcat server> Local

Select the deployed Application

 

 

Start the test...

OK>

Intellij idea 12 new version released first go to the official website to see the black theme is very powerful, the general use of the next for the first use of eclipse kids shoes

It is very difficult to get out of eclipse. Of course, I am also very difficult to go on the road...

First of all, "New Project" in intellij idea is equivalent to "workspace" in eclipse, and "new module" is used to create a project.

This is very different from eclipse.

 

1. The default theme downloaded from the official website is not black. Modify the wrench icon on the toolbar or use CTRL + ALT + S to open the setting window.

Find appearance> theme on the left side of the window and select darcula to restart the theme application.

2. Chinese garbled problem software is a verbal interface for opening a project or displaying incomplete Fonts

Solution:

Check the front of appearance> override default fonts by (not recommended)

The name drop-down box below shows the optional status. Find name: dialoginput. Plain-size: 12 and the application will be OK.

 

Next, create a web project step by step.

1. Create a projectThat is, the project

2. Select the project type. Here, select Java module to customize the workspace name and path.

3. Select the framework component to be used. Only the first web application> finish is selected.

4. After a workspace is created, a module or project is created by default, but this project is not recommended for development.

5. Right-click Open Module Settings or press F4.

6. Add a project

 

Then finish finding the Web> WEB-INF for the new project and creating the classes and Lib folders

Modify the compilation output directory paths> use module compile output path to the custom classes folder.

You can also specify the Lib library directory to add> jars or directories to the created lib folder. In the pop-up window, select jar directory.

 

Next, deploy, test, and configure the Tomcat server. Click the arrow in the figure to display the right window of the editing server in the drop-down area.

Click the Add button in green and select Tomcat server> Local

Select the deployed Application

 

 

Start the test...

OK>

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.