-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Install
Christophe Brasseur edited this page Oct 15, 2016
·
1 revision
Download the all-inclusive library. Then add it to the list of librairies of a Web Java EE Project.
This .jar includes:
- The library itself
- Web Java EE6 library
- Reflections-0.9 - from Google, based on https://github.com/ronmamo/reflections
- Java HTTP Extensions - from doubotis. Add some classes for better Web Development.
Now the library is installed, you must configure the web.xml
file, to add the ServletController:
<servlet>
<servlet-name>ServletController</servlet-name>
<servlet-class>be.doubotis.mvc.core.ServletController</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ServletController</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
This means all .HTML files on the site will be managed by the ServletController
.
You can use a custom filter and a different url-pattern to match your needs.
This servlet will serve all the webpages you need to display to the user.
Now you can begin to use the library. To get how to use it, please see here