I am developing a web application using Struts1 as web framework. My url pattern in web.xml is: 

```
<servlet-mapping> 
<servlet-name>action</servlet-name> 
<url-pattern>*.do</url-pattern> 
</servlet-mapping> 

```

I want to get rid of `.do` pattern in urls. So if my url is 

<http://localhost:38330/MyProject/editFunction.do?function=1> 

i want it to be like <http://localhost:38330/MyProject/editFunction/> . How do I acheive this type of url rewriting ? 
Thanks for any help