HI ,
I am using struts2 in my project but i have doubt in my mind,
Why should we have struts.xml instead of writing those things in web.xml in struts2?

I am using this but i dont know how exactly it works in struts 2? How control goes from web.xml to struts.xml .

Thanks in advance