× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




well, this has been eye opening. After seeing what all was involved with Java to create CAPTCHA's, I took a look at PHP because I knew my phpBB forum software wasn't that complicated. On the otehr hand, neither is the CAPTCHA.

To generate good CAPTCHA's is mostly done with the GD PHP graphics library. But then that's getting up there in complexity with the Java graphics library, so no shortcuts there.

The Java package that looked most promising is org.apache.myfaces.custom.captcha.util. I pulled that code into a project. I need to go get some more supporting classes, but they're all Apache. There is one use of HTTPServletResponse (or something close to that), but I commented out that import and will replace whatever is being done there with something else appropriate.

The Java code out there is understandably servlet oriented, so what we want is a jar that ends up with a CAPTCHA PNG (or JPG or GIF) file as output without any other interactions.

Will be interesting code to get working and post in any event.

rd


Guillermo Andrades, CPI Software wrote:
Ralph,

<<We need to get you a prototype of RPG calling one of the standard
Java classes that returns the CAPTCHA image to be displayed to the RPG
program as a parm.>>

oh yes, would be good,
not problem using java in this way, the one I can't is install, configure
and run WAS or Tomcat or Geronimo or so on for this intend..

some brave java developer here with some of this? there is any code or
library/class available?

(also I can improve my legacy of person-hating-java, btw, magnifico)

Guillermo.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.