Closed GoogleCodeExporter closed 8 years ago
Have you confirmed that the init() method is being called?
Original comment by latch...@gmail.com
on 20 May 2014 at 12:39
Yes, adding a breakpoint to first line of init() method, and it is being called.
Original comment by lcy.so...@gmail.com
on 20 May 2014 at 1:28
Attachments:
Weird. I don't know. You're going to have to debug it. For some reason that
setting isn't being set properly. The Kaptcha code isn't too complicated, so it
shouldn't be too hard. Let us know when you figure it out. =)
Original comment by latch...@gmail.com
on 20 May 2014 at 1:31
[deleted comment]
@WebServlet(urlPatterns = "/mycaptcha.jpg",
initParams = {
@WebInitParam(name = "kaptcha.textproducer.font.color", value = "red"),
@WebInitParam(name = "kaptcha.textproducer.char.length", value = "3")
})
public class MyCaptcha extends KaptchaServlet {
private static final long serialVersionUID = 1L;
}
working well now with above code, but I don't know the reason of this issue.
Original comment by lcy.so...@gmail.com
on 20 May 2014 at 6:22
Attachments:
Probably because you're using annotations now.
Original comment by latch...@gmail.com
on 20 May 2014 at 6:34
Original issue reported on code.google.com by
lcy.so...@gmail.com
on 19 May 2014 at 1:59