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
You must put javax.mail.###.jar in the tomcat lib folder. Or the web app initialization will be wrong.
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/">
You should add your event files here. And you can create sub folders.
You should add your sql defines here. And you can create sub folders.
You should add your mail defines here. And you can create sub folders.
The context file contains the db resource define and the mail resource define.
The properties file contains the setting to the web application.
All files your application needs should be placed here. In your event programs, file and folder operating is relatived to the storage folder.
All jars are here. You can put or replace the jars.