Foreword
Tucao about various conversion online tutorial. . Say is really the tragedy, few useful things. Hereby write a crippled himself.
The conversion process
The maven built project
The maven built project long this look like a ghost ~ ~, do not use the skeleton. It is to establish a common way.
Generating webapp, web-inf and web.xml
First select our engineering, to see the top right idea, find the following icon
click select the modules, click the plus sign above, select the web.
Enter the following page:
The above path is to allow you to set the location of the generated web.xml.
The following is to let you set the webapp web directory is which.
According to the directory structure shown me is the best.
When the build completes, the following
was found to have a webapp on earth sign, generate success.
Release test
At this point the conversion was successful. We have established a index in the web-inf, jsp page, printed above a helloworld.
Publish to tomcat.
Access 8080. page display properly
Directory of resources put in the position
Configuration file or on the resource down on the static css, js, img like under webapp. Pages into web-Inf.