Added UTF-8 requirements in Readme.

This commit is contained in:
Christian P. MOMON 2016-09-21 14:35:27 +02:00
parent 2d1906b7da
commit dcb5fb5601

View file

@ -1,27 +1,34 @@
# Kiss4web-demo
Welcome! Welcome in a world of K.I.S.S.
K.I.S.S. = Keep It Simple, Stupid (https://en.wikipedia.org/wiki/KISS_principle).
Nowadays, make a Web site involves to use complex and heavy frameworks. Nevertheless, to build a web page and to return it, does not maybe ask so much complexity.
Kiss4web is a K.I.S.S. solution for building web applications.
Kiss4web-demo is a demonstration of the use of Kiss4web.
## Developing environment
Kiss4web-demo project uses strictly Eclipse Kepler, Java 6, GIT.
Kiss4web-demo project uses strictly Eclipse, Java 6, GIT, Tomcat 7.
CAUTION: as said in Eclipse wiki (https://wiki.eclipse.org/Eclipse/Installation): "A Java 6 JRE/JDK is recommended for Eclipse 4.3.".
To launch Eclipse Kepler with JDK 6 when default Java is another one, In ECLIPSE_HOME/eclipse.ini, add the following lines:
-vm
/usr/java/jdk6/bin/java
(... -vmargs)
## UTF-8 compliance settings
Set UTF-8 compliance when using Tomcat server directly:
- edit workspace/Servers/Tomcat v7.0 Server at localhost-config/server.xml
- add « URIEncoding="UTF-8" » to the 8080 connetor:
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="UTF-8"/>
Set UTF-8 compliance when using Tomcat server through Apache server (so using mod_jk):
- edit server.xml (on Debian, /etc/tomcat7/server.xml)
- add « URIEncoding="UTF-8" » to the AJP connetor:
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8"/>
## Build
GeneaQuilt uses Ant and generates a geneaquilt-x.y.z folder which contains:
- x.jar : full software.
- x-core.jar : only compiled class without any library.
- x-core-source.jar : sources.
# License
Kiss4web-demo is released under the GNU LGPL license.