Ramakrishna Udupa wrote:I'm telling, I don't want to use servlet. I'll not create sevlet class itself. Then Why should I map in web.xml like as you suggested. I already told
Its implementation in Servlets. I want in JSP like using struts.
JSP is meant to render the view and captcha
image generation requires some server side entity like Servlet which sends you back the dynamic generated image. Why don't you want to use a Servlet? If your reason is that you are using Struts, then you can still use Servlets or at the very least you can use a Action class in Struts to do what that captcha servlet does. I don't remember much about Struts, but I think that should be possible.