You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. in the sample code replace the FactorySimpleMathImpl with
FactoryRandomImpl in the captcha.jsp and index.jsp
2. run the project on server and look into the console for the value
returned by the solver
3. Please note that i have not changed the instProps values in captcha.jsp
as i was not aware about the property names for FactoryRandomImpl.
What is the expected output? What do you see instead?
Must show VERIFIED instead showing Not Verified even if we give the right
values.
What version of the product are you using? On what operating system?
Project given as example in Windows.
Please provide any additional information below.
I am using JRE 1.5.0,TOMCAT 5.5
Original issue reported on code.google.com by s.chant...@gmail.com on 12 Jun 2008 at 11:12
The text was updated successfully, but these errors were encountered:
Sorry that I didnot see to the source file FactoryRandomImpl.java
There arent any properties for FactoryRandomImpl, hence need not pass
properties to
the FactoryRandomImpl instance
Also the captcha.jsp must have the below line modified when we use
FactoryRandomImpl
System.out.println("solver solved ="+(solver.getLastWord()));
session.setAttribute("icaptcha" , (solver.getLastWord()));
Donot forget to use the same FactoryRandomImpl in the index.jsp
Original comment by s.chant...@gmail.com on 12 Jun 2008 at 11:50
Original issue reported on code.google.com by
s.chant...@gmail.com
on 12 Jun 2008 at 11:12The text was updated successfully, but these errors were encountered: