Friday, August 6, 2010

Tomcat file structure in Eclipse

  • WebContent.
    Regular Web files (HTML, JavaScript, CSS, JSP, images, etc.)
  • WebContent/some-subdirectory
    Web files in subdirectory.
  • WebContent/WEB-INF
    web.xml (used for servlet mappings)
  • WebContent/WEB-INF/lib
    JAR files specific to application.
  • src/(default package)
    Unpackaged (default package) Java code. Using the default package is generally a bad choice in Web apps.
  • src/somePackage
    Java code in somePackage package.
  • Note:
    You can cut/paste or drag/drop existing files into appropriate locations, but it is hard to drag files into a Java package until you create at least one class first.

1 comment:

Anonymous said...

Hello my friend! warm greeting!
your blog looks nice 0_0

by the way,
if you need to find unique fonts, you can go to our website.

best regards;