Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kaptcha not working for sub folders #26

Closed
GoogleCodeExporter opened this issue May 5, 2016 · 4 comments
Closed

Kaptcha not working for sub folders #26

GoogleCodeExporter opened this issue May 5, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant