General directory structure resolution (Eclipse) for Java Web projects __java

Source: Internet
Author: User
Tags java web


The above is a screenshot of the directory structure named TestProject, the following is mainly to resolve the use of webcontent under the various directories:

CSS: The CSS file you need to store your project.

Images: Store the picture files required for the project.

JS: Store the required JS files and JavaScript library.

Pages: General storage System public JSP pages, such as header.jsp, footer.jsp and so on.

Content: This directory is also the JSP page that holds the project, for security reasons, the directory should be placed in the Web-inf directory, so that the client can not access directly,

You can use struts or a servlet in your project to turn to access.

LIB: A rack package for storing items.

Classes: This subdirectory is used to store all Java class files and related resource files.

CONF: project configuration file.

Related Article

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.