📄 straightforward.java
字号:
/*
* OPIAM Suite
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package opiam.admin.faare.struts.actions;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* This action only performs a forward to the "success" URI.
*/
public class StraightForward extends Action
{
/**
* Struts Action method.
* See Action
*
* @param mapping Struts mapping data.
* @param actionForm Input form.
* @param request HTTP request.
* @param httpServletResponse HTTP response.
*
* @return forward to success
*
* @throws java.io.IOException see Action.execute()
* @throws javax.servlet.ServletException see Action.execute()
*/
public ActionForward execute(
ActionMapping mapping,
ActionForm actionForm,
HttpServletRequest request,
HttpServletResponse httpServletResponse)
throws IOException, ServletException
{
return (mapping.findForward("success"));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -