author | František Kučera <franta-hg@frantovo.cz> |
Sun Mar 08 22:23:47 2009 +0100 (2009-03-08) | |
changeset 8 | 123d3d185ad5 |
parent 0 | a8354f90252c |
permissions | -rw-r--r-- |
franta-hg@0 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
franta-hg@0 | 2 |
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> |
franta-hg@0 | 3 |
<session-config> |
franta-hg@0 | 4 |
<session-timeout> |
franta-hg@0 | 5 |
30 |
franta-hg@0 | 6 |
</session-timeout> |
franta-hg@0 | 7 |
</session-config> |
franta-hg@0 | 8 |
<welcome-file-list> |
franta-hg@0 | 9 |
<welcome-file>index.jsp</welcome-file> |
franta-hg@2 | 10 |
</welcome-file-list> |
franta-hg@2 | 11 |
|
franta-hg@2 | 12 |
<!-- Kaptcha --> |
franta-hg@2 | 13 |
<servlet> |
franta-hg@2 | 14 |
<servlet-name>Kaptcha</servlet-name> |
franta-hg@2 | 15 |
<servlet-class>com.google.code.kaptcha.servlet.KaptchaServlet</servlet-class> |
franta-hg@2 | 16 |
<init-param> |
franta-hg@2 | 17 |
<param-name>kaptcha.border</param-name> |
franta-hg@2 | 18 |
<param-value>no</param-value> |
franta-hg@2 | 19 |
</init-param> |
franta-hg@2 | 20 |
<init-param> |
franta-hg@2 | 21 |
<param-name>kaptcha.textproducer.font.color</param-name> |
franta-hg@2 | 22 |
<param-value>orange</param-value> |
franta-hg@2 | 23 |
</init-param> |
franta-hg@2 | 24 |
<init-param> |
franta-hg@2 | 25 |
<param-name>kaptcha.image.height</param-name> |
franta-hg@2 | 26 |
<param-value>50</param-value> |
franta-hg@2 | 27 |
</init-param> |
franta-hg@2 | 28 |
<init-param> |
franta-hg@2 | 29 |
<param-name>kaptcha.image.width</param-name> |
franta-hg@2 | 30 |
<param-value>300</param-value> |
franta-hg@2 | 31 |
</init-param> |
franta-hg@2 | 32 |
</servlet> |
franta-hg@2 | 33 |
<servlet-mapping> |
franta-hg@2 | 34 |
<servlet-name>Kaptcha</servlet-name> |
franta-hg@2 | 35 |
<url-pattern>/protiZlymRobotum.jpg</url-pattern> |
franta-hg@2 | 36 |
</servlet-mapping> |
franta-hg@2 | 37 |
<!-- Kaptcha - konec --> |
franta-hg@2 | 38 |
</web-app> |