What Is the File Extension Do?

by Chris Davis

The file extension DO (.do) is used for Java servlets in computer and Web applications. They are most commonly seen in the address bar of a Web browser, but they are also used internally by applications and thus are not seen at all.

History/Purpose

Older Web application calculators required a page reload.

Early on, performing most actions on a website could not be done without a page refresh. For example, a website that allowed the user to enter two numbers and click an "Add" button would have to reload the page to display the result. This was slow and frustrating compared to computer applications, which did not have this limitation.

Asynchronous Web Applications

To bridge this gap, technology for asynchronous Web applications was developed. Asynchronous applications use programming languages to allow only the relevant part of a Web page to be refreshed when submitting a query.

Java

Java is a very popular programming language that was developed by Sun Microsystems, now owned by Oracle Corporation. It is used both for computer applications and Web applications.

Java Applets

When a Java program is embedded in another application, such as in a Web page displayed by a Web browser, it is known as a Java applet.

Java Servlets

A servlet is a Java class that uses a specific protocol allowing it to respond to HTTP requests. Servlets have the file extension DO. They are often used only as a part of a larger Java applet or application and are not directly seen by users, but some Web or computer applications may use a servlet as a standalone.

About the Author

Chris Davis has been writing and editing since 2001. He has written for Elinon Online and written and edited content for the Oaks Fellowship. Davis studied computer science at Texas A&M University-Commerce and is now working on a Bachelor of Arts in English at Southwestern Assemblies of God University.