I trace the jcaptcha code.
Jcaptcha set a parameter name "captchaId" in session when this servlet
use(when link to login.page).
And when user submit the form.Its will get "captchaId" from session.
Then compare the two "captchaId".

So i system out the "captchaId", and see whats wrong.
when i link http://myDomain/eCom/Login.jsp, the first "captchaId" i can see
in tomcat console.
Then i submit. Its work and I see the second "captchaId" is the same with
first.

But another http://myDomain/Login.jsp, the two "captcahId" are different.
I think that session cause the jcaptcha not work.

How could i work out this?
And i still let the dir "eCom" with my root dir.
Because i must let the url like "http://myDomain/";.

-- 
View this message in context: 
http://www.nabble.com/tomcat-with-jcaptcha-tp18309636p18310916.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to