9

I see URI ending in ".do" on some enterprise websites. I've always been curious to know what that stands for, but my Google searches have so far not turned up an answer.

Here is an example from ATT customer portal:

https://www.att.com/view/displayFullBill.do

What does the ".do" mean?

2 Answers 2

17

Java Servlets.

...Or more specifically, Struts, and it means "do" as in "perform an action", URLs are usually mapped to the Controllers within an MVC architecture, and "do" is just a convention, any URL can be mapped (and other languages/frameworks could use the same URL structure), having ".do" doesn't do anything special.

2
  • 2
    I think this is actually the more accurate answer here. Commented Mar 3, 2011 at 0:21
  • I moved the green check over to this answer. Thanks, Ewan. Commented Mar 7, 2011 at 15:05
3

Java Servlets

2
  • I wonder where they get "do" out of that unless it's used as a verb. Commented Mar 2, 2011 at 20:23
  • 2
    It is used in the verb sense because refers to an action that the application is to carry out. The application 'does' something then sends you to a new page that displays the results of the action. Commented Mar 3, 2011 at 0:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.