SrcCodes

Integrate Free Anti-Bot Service reCAPTCHA with Spring MVC application

reCAPTCHA is a free CAPTCHA service to protect a site against spam and other types of automated abuse by bots or computer programs. reCAPTCHA provides widget which can easily be integrated to your blog, forum, comment, registration form, contact form, etc and you can be rest assured that only human

Example to Generate Random Alpha Numeric Text

This example shows how to generate random alpha numeric text which is not easy to guess.

Dynamically create image from text using Java Servlet

This example shows how we can dynamically create an image from a text ('Hello World!') by writing a simple Java Servlet. In the next post, we'll see how this dynamic creation of image can be used to implement custom CAPTCHA validation.

SrcCodes © 2026