.do extension in web pages?

Vishwanath Dalvi picture Vishwanath Dalvi · Dec 26, 2010 · Viewed 102.8k times · Source

I want to know what is .do extension in web pages. Is it a standard extension, or, if it's not, can we change the extension (like client-login.php to client-login.do and still run as PHP)?

Thanks.

Answer

MK. picture MK. · Dec 26, 2010

.do comes from the Struts framework. See this question: Why do Java webapps use .do extension? Where did it come from? Also you can change what your urls look like using mod_rewrite (on Apache).