Folder Structure of a Web Application Project

The following table is an example of the folder structure of a Web application project. The folder structure will vary, depending on a project's component support.

Web application project folders

Folder Description
<projectname> The Web application project folder, which is the container for all project resources.
buildThis folder contains common Eclipse files.
generatedThis folder contains generated classes based on a managed bean created from a WSDL.
src The src folder contains java files used in the Web application.
webroot This folder contains the Images, META-INF and WEB-INF subfolders.
  • The Images folder contains the image files used by the Web pages.

  • The META-INF folder contains the MANIFEST.MF file, which is used to create zip files, and the sybase-easerver-config.xml file.

  • The WEB-INF folder contains the files needed to build a Web application resources. Its subfolders include:

    • lib

      The lib folder contains jar lib files.

    • tld

      The tag library descriptor (.tld) files, which contain the tags used by the Web application.

    • wsdl

      The wsdl folder contains the .wsdl file that is used for Web service managed bean creation.

    The WEB-INF folder contains the following files:

    • faces-config.xml

      This is the JavaServer Faces configuration file, which contains configuration information such as navigation rules, managed bean properties, and component properties.

    • web.xml

      This is the Web application configuration file, which contains configuration information for a Web application, such as servlet properties, context parameters, tag libraries, listeners, resource and EJB references, and security settings.

    • .jsp files

      Each Java Server Pages (.jsp) file is a Web page.

Creating a Web Application Project

Projects

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com