Hi,
I have a
struts application which uses a captcha in one of its forms.
The captcha is generated by a simple
servlet.
Currently i have a mapping in the web.xml for the servlet.
And in my form in i use "html:image" tag to display the captcha image.
So, here are my questions:
1) Can I map simple servlet like the one above directly in my struts-config xml file, instead of using web.xml?
I am considering this so that in an event of change, i need to change only the struts-config file.
Please treat this as general question and not just with respect to captcha service because I have to use 2 more servlets in my application.
2) I was curious if i can use global-forward for this captcha image. If so how to do it?
I tried using global-forward but was not successfull