JSPA: JSP Alias
Alias or shortcut to a Java Servlet (.JSP) file; used by the Struts2/WebWork Web application framework for online forums and related services; may execute one or more JSP pages when called.
What does the .jspa file extension stand for?
A .jspa web extension such as search.jspa?communityID=1 represents a servlet alias; therefore, .jspa files do not exist on the file system. Jive Forums and Jive Knowledge Base both use a web framework called Struts and the .jspa extension maps to the Struts servlet controller. So when a request is made to search.jspa?communityID=1, the following actions occur:
- The application server knows to pass control to the dispatcher servlet because of the .jspa mapping declared in the web.xml file.
- The dispatcher servlet knows which action to execute based on the alias ( search in this case). An action is a Java bean which handles logic for the view. In this case, a forum is requested so the forum action is loaded and other things like permissions and authentication are handled.
- The action executes and returns a response code. Based on that code, the dispatcher servlet will redirect to a FTL template. The template is executed and uses objects loaded by the action class.
To determine what FTLs are executed when a .jspa is called, view the struts-actions.xml file. If you are using Jive SBS or Jive Forums 5.5 or later, the file is called xwork-community.xml and is in the JAR file.
Reference: https://community.jivesoftware.com/docs/DOC-3430