File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Image validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Image validation" Watch "Image validation" New topic

Image validation

Shaik Vali

Joined: Feb 07, 2008
Posts: 22
Hi , I am generating the image by using ImageCaptchaServlet
I would like to validate the generated image with normal java code to compare with String ,not with Struts validations, how can I do that please help.

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

You're not giving us much to work with here.
I assume ImageCaptchaServlet is a 3rd party library.
Have you read their documentation?
I'm guessing that it would have some sample code you could use.

Do you know how to retrieve form parameters from a servlet or JSP?
Do you know how to store parameters using the scoped objects provided by the servlet spec to use them later?

Show us some of what you've done and it will be easier for us to help you.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Image validation
It's not a secret anymore!