File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes JCaptcha security Image generation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JCaptcha security Image generation " Watch "JCaptcha security Image generation " New topic

JCaptcha security Image generation

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

hi all,

in this link :

i followed all steps described in tutorial above & manage to get the servlet run well on my local tomcat server (localhost:8080).

the problem is when i deployed the servlet to a remote server and run it ;the image didn't got displayed .this puzzled me !

i tried many solutions like giving absolute url for img tag instead of relative urls. i also gave a jpg extension to img src tag instead of servlet path..but every time the servlet works on localhost & fail to display captcha image on remote server.

what could be the problem ?
any hints or ideas are very welcomed.

I agree. Here's the link:
subject: JCaptcha security Image generation
It's not a secret anymore!