kiss4web-demo/README.md

36 lines
1.3 KiB
Markdown
Raw Normal View History

2016-09-19 04:30:31 +02:00
# Kiss4web-demo
2016-09-21 14:35:27 +02:00
Welcome! Welcome in a world of K.I.S.S.
2016-09-19 04:30:31 +02:00
2016-09-21 14:35:27 +02:00
K.I.S.S. = Keep It Simple, Stupid (https://en.wikipedia.org/wiki/KISS_principle).
2016-09-19 04:30:31 +02:00
2016-09-21 14:35:27 +02:00
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.
2016-09-19 04:30:31 +02:00
2016-09-21 14:35:27 +02:00
Kiss4web is a K.I.S.S. solution for building web applications.
2016-09-19 04:30:31 +02:00
2016-09-21 14:35:27 +02:00
Kiss4web-demo is a demonstration of the use of Kiss4web.
2016-09-19 04:30:31 +02:00
2016-09-21 14:35:27 +02:00
## Developing environment
2016-09-19 04:30:31 +02:00
2016-09-21 14:35:27 +02:00
Kiss4web-demo project uses strictly Eclipse, Java 6, GIT, Tomcat 7.
2016-09-19 04:30:31 +02:00
2016-09-21 19:15:08 +02:00
### UTF-8 compliance settings
2016-09-21 14:35:27 +02:00
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"/>
2016-09-19 04:30:31 +02:00
2016-09-21 14:35:27 +02:00
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"/>
2016-09-21 19:15:08 +02:00
### Eclipse Mars tips
To get Tomcat server with Eclipse Mars, install all JST packages.
2016-09-21 14:35:27 +02:00
## Build
2016-09-19 04:30:31 +02:00
# License
2016-09-21 16:32:39 +02:00
Kiss4web-demo is released under the GNU AGPL license.