Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is .jspa URL extension in web applications?

In many online web applications, I notice that the application url ends with jspa. My assumption is it is a jsp and action is mapped to jspa instead of *.do.

Is my understanding correct or there is an actual extension/different meaning? Kindly suggest and ignore if this question is very basic. I googled already and could not get clear answer.

like image 353
javapedia.net Avatar asked Jan 15 '20 13:01

javapedia.net


People also ask

What is Jspa extension?

It usually stands for "JSP Action". A "jspa" file is just a jsp file, there's nothing special about it. Note that the Jive forum software uses this, so if you look at the URL you're using to browse this page, you'll see the jspa extension!

What is .do extension in Java?

A DO file is a web-based Java program run by a web server that supports Java, such as Tomcat or IBM WebSphere. It is typically mapped to the Struts controller, which processes the file. DO files are used for generating dynamic webpages. Some webinar programs may generate DO files that are formatted as . VCS files.


2 Answers

In many online web applications, I notice that the application url ends with jspa. My assumption is it is a jsp and action is mapped to jspa instead of *.do.

Your assumption is almost correct. Why I have used the word, almost is because you have mentioned that it is a JSP. In fact, it can be anything; not just a JSP. The URL contains a logical name and it may be mapped to a Servlet, JSP or any other thing. The URL, http://www.sun.com/training/catalog/courses/CX-310-083.xml looks like an XML document at first sight but it is actually not. The actual content is rendered based on the Content-Type header i.e. you can see a URL with extension .abc which may actually render an HTML page.

like image 62
Arvind Kumar Avinash Avatar answered Oct 15 '22 12:10

Arvind Kumar Avinash


Most probably just like JavaServer Pages (JSP) is a Java standard technology that enables you to write dynamic, data-driven pages for your Java web applications.

like image 41
Yasser Jarouf Avatar answered Oct 15 '22 13:10

Yasser Jarouf