Enhancement for Wiki documentation
GoogleCodeExporter opened this issue · 1 comments
GoogleCodeExporter commented
Hi,
Here is a better way to define more than one property
in Spring:
<bean id="captchaProducer" class="com.google.code.kaptcha.impl.DefaultKaptcha">
<property name="config">
<bean class="com.google.code.kaptcha.util.Config">
<constructor-arg type="java.util.Properties">
<props>
<prop key="kaptcha.image.width">300</prop>
<prop key="kaptcha.image.height">25</prop>
<prop key="kaptcha.textproducer.char.string">0123456789</prop>
<prop key="kaptcha.textproducer.char.length">4</prop>
</props>
</constructor-arg>
</bean>
</property>
</bean>
regards,
Bernhard
Original issue reported on code.google.com by bernhard.greenwood
on 28 Feb 2011 at 4:14
GoogleCodeExporter commented
fixed. thanks.
Original comment by latch...@gmail.com
on 13 Dec 2011 at 5:08
- Changed state: Fixed