Is there any way to avoid using .do in struts urls. I know setting up the web.xml servlet mapping will do the trick but i was looking for something cleaner than that so that i do not have to enter every url into the web.xml file. Help Appreciated. Thanks S
posted 13 years ago
In your web.xml file, you need to change your servlet mapping to the approriate url format, for example using *.xxx instead of *.do. Then you just set up your paths in struts-config.xml to reflect the change.