is00hcw / kaptcha

Automatically exported from code.google.com/p/kaptcha
Other
0 stars 0 forks source link

Kaptcha not working for sub folders #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. I have downloaded the kaptcha-2.3.zip and opened it.and placed the 
Kaptcha.war file in my webapps folder of Tomcat server

When i run the Kaptcha project its working fine.
when i place the KaptchaExample.jsp in /jsp/ folder of the 
applcation ,kaptcha is not showing any images or session value

How to solve this,my application requires kaptcha inside the subfolders

Thanks
Sreenivas

Original issue reported on code.google.com by vasuon...@gmail.com on 16 Sep 2008 at 6:06

GoogleCodeExporter commented 8 years ago
And what do the log files say?

My guess is you either need to set the path to the servlet correctly in both 
your web.xml and your .jsp page, put 
the kaptcha.jar file into the WEB-INF/lib directory, you forgot to add it to 
your web.xml file, or you are using the 
JDK5 library with JVM 1.3.x/1.4.x.

Original comment by latch...@gmail.com on 16 Sep 2008 at 6:39

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi latchkey,

java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)

i am not finding any error in log file

what i have done.once i plcaed the kaptcha.war file in Tomcat kaptcha folder is 
created under webapps diretory of webapps.I have created a jsp folder under 
kaptcha 
and placed KaptchaExample.jsp file.for this no image is generated

help me

Sreenivas

Original comment by vasuon...@gmail.com on 16 Sep 2008 at 9:11

GoogleCodeExporter commented 8 years ago
If you can't follow the simple directions on the website for deploying a simple 
java servlet, then I can't really do 
much to help you. You are going to have to try different combinations of things 
until you get it right. Good luck.

Original comment by latch...@gmail.com on 16 Sep 2008 at 4:01