JSPA

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值