Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
62 lines (53 loc) · 2.31 KB

files_list_web.md

File metadata and controls

62 lines (53 loc) · 2.31 KB

Files List

tomcat
├─lib
│  └─javax.mail-1.5.6.jar								//Java Mail jar.
└─webapps
        myWebApp											//The application folder. 
        ├─myPage.jsp
        ├─...
        ├─META-INF
        │  └─context.xml
        └─WEB-INF
            ├─classes
            │  └─efw.properties
            ├─efw
            │  ├─event									//Efw event folder
            │  │  ├─myEvent.js
            │  │  └─...
            │  ├─mail										//Outside mail folder
            │  │  ├─mails.xml
            │  │  └─...
            │  ├─sql										//Outside sql folder
            │  │  ├─mySqlGroup.xml
            │  │  └─...
            │  └─storage									//Storage folder
            │      └─...
            └─lib											//Lib folder
                ├─efw-3.#.###.jar
                ├─juniversalchardet-1.0.3.jar
                ├─jdbc.XXXXXX.jar
                └─poi_3.15_allinone.jar

Java Mail JAR

You must put javax.mail.###.jar in the tomcat lib folder. Or the web app initialization will be wrong.

Application Folder

You can put jsp files here. It is not recommended to create sub jsp folder. If you do it, please remember to put a base tag in you jsp head, or the <efw:Client> will be wrong.
<base href="/myWebApp/">

Efw Event Folder

You should add your event files here. And you can create sub folders.

Outside SQL Folder

You should add your sql defines here. And you can create sub folders.

Outside Mail Folder

You should add your mail defines here. And you can create sub folders.

Context File

The context file contains the db resource define and the mail resource define.

Properties File

The properties file contains the setting to the web application.

Storage Folder

All files your application needs should be placed here. In your event programs, file and folder operating is relatived to the storage folder.

Lib Folder

All jars are here. You can put or replace the jars.