Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does .do webpage stands for

I would like to know what does .do webpages stand for ( as .php stands for PHP pages with PHP Scripting) and what is the scripting language behind it.

like image 875
Sam Avatar asked Jun 25 '10 11:06

Sam


People also ask

What is a .do web page?

do is the country code top-level domain (ccTLD) for the Dominican Republic.

What language is a .do file?

A DO file is a web-based Java program run by a web server that supports Java, such as Tomcat or IBM WebSphere.

What are the 2 types of web pages?

From the perspective of server-side website deployment, there are two types of web pages: static and dynamic.

What is the name of web page?

URL. A URL (aka 'Universal Resource Locator') is a complete web address used to find a particular web page. While the domain is the name of the website, a URL will lead to any one of the pages within the website.


3 Answers

http://www.fileinfo.com/extension/do

According to WikiPedia, .do is:

a pseudo file extension representing an Apache Struts action. It does not map to an actual file extension, although it appears that way.

However, you can't really say anything about the technology behind based solely on the "extension", i.e., the server can be configured to use .do for PHP files etc. This can be done in order to secure backwards compatibility or whatever.

like image 137
jensgram Avatar answered Dec 23 '22 06:12

jensgram


.do is the commonly used convention to denote a Struts action. Like .jsf for JSF . But there is no compulsion that all struts action should map to .do extenstion. It can be configured in web.xml to .anything. Also a simple servlet can also be mapped to a .do extension. So nothing can be derived by just looking at the URL.

like image 29
chedine Avatar answered Dec 23 '22 06:12

chedine


While .do seems to be a Struts convention, it is used in Spring and Spring MVC as well. This SO thread talks a little bit about that, also noting that whereever Servlets are used, '.do' files can be used: Why do Java webapps use .do extension? Where did it come from?

like image 39
hotshot309 Avatar answered Dec 23 '22 06:12

hotshot309