Just wondering which programming languages is used on the web pages with the extension ".do"
-
5@Kobi that simple search led me to this page ;) – Géza Török Nov 23 '16 at 13:46
-
Possible duplicate of [What does .do webpage stands for](http://stackoverflow.com/questions/3117694/what-does-do-webpage-stands-for) – Bae Jan 09 '17 at 04:16
4 Answers
According to FileInfo, the file extension is for Java Servlets.

- 32,692
- 6
- 40
- 59

- 58,163
- 16
- 128
- 183
Strictly speaking, you can't tell for sure just by looking at the extension. I can configure a web server to interpret *.do
URLs as referring to PHP files or even executables and run it accordingly. In fact, *.do
URLs may not even refer to files at all! It really does depend on how the server is configured.

- 51,091
- 10
- 150
- 143
-
2@Kobi Actually that's just a url re-write where they add text from the question (“which-programming-language-has-extension-do”) after the question id (`5973505`). You'll notice it redirects to the full url – Josh K Oct 29 '13 at 01:16
-
35While true, this answer is more pedantic than useful. As Femi points out, in practice, this extension does indicate a particular web stack. – Kirk Woll Nov 01 '13 at 07:36
-
9@Kirk Woll: Sure. That's why I said "strictly speaking". And even if it is pedantic, it is *correct*. IMO correctness is just as important as knowing what is usually done in practice. – In silico Nov 03 '13 at 01:21
-
12Like Kirk said, this answer is pedantic. Sure, you ***can*** change how various extensions are handled, but the OP was asking which languages use `.do` extensions, implying the OP wanted to know which languages use `.do` files by default. If someone asked what languages use `.php` files, the practical answer is PHP. Yes, you ***could*** configure your server to execute `.php` files as Perl or something unrelated like that, but by default, in general, and most often in practice, `.php` refers to PHP files. That same basic principle can be applied here. – Spencer D Oct 23 '15 at 17:15
-
2This is a 100% universal truth about file extensions in general. I fail to see how it in any way relates to this specific file extension. Perhaps it's useful to note this extension resides only inside web-servers and this answer does mention web-servers. That's the only possible relevance I can find. – ebyrob Mar 15 '17 at 20:33
-
3This belongs as an addendum to a proper answer, not as an answer by itself. It imparts no useful information to someone looking for guidance, no matter how correct it might be. – Mark Ransom Jun 16 '17 at 22:25
That is typically not so much a programming language feature but a framework feature: apps developed with Apache Struts (see http://struts.apache.org/) typically use that extension.

- 64,273
- 8
- 118
- 148
.do extension is used to build a J2EE enterprise application using Struts and dao factory method that is latest technology framework to build EE applications. It is much faster and efficient than JSP and JSF.

- 3,675
- 4
- 25
- 57

- 81
- 1
- 1