This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
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 12 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.