ISE-ComProg-After-Midterm/screwdriver-3.5.6/box/snippets/web_captcha.txt

11 lines
424 B
Plaintext
Raw Normal View History

2020-10-29 09:38:56 +00:00
<servlet>
<servlet-name>SimpleCaptcha</servlet-name>
<servlet-class>nl.captcha.servlet.SimpleCaptchaServlet</servlet-class>
<!-- The width and height params are optional;
if unspecified they default to 200 and 50 respectively. -->
</servlet>
<servlet-mapping>
<servlet-name>SimpleCaptcha</servlet-name>
<url-pattern>/captcha.png</url-pattern>
</servlet-mapping>