Dispatch Action

  • Uploaded by: seenu
  • 0
  • 0
  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Dispatch Action as PDF for free.

More details

  • Words: 110
  • Pages: 2
Dispatch action `

//Example DispatchAction public class CreditAppAction extends DispatchAction { public ActionForward reject(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { String id = request.getParameter(“id”); // Logic to reject the application with the above id ... ... ... mapping.findForward(“reject-success”); } public ActionForward approve(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { String id = request.getParameter(“id”); // Logic to approve the application with the

above id ... ... ... mapping.findForward(“approve-success”); } public ActionForward addComment(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { String id = request.getParameter(“id”); // Logic to view application details for the above id ... ... ... mapping.findForward(“viewDetails”); } ... ... }\

Related Documents

Dispatch Action
November 2019 31
Dispatch
July 2020 12
Dispatch
October 2019 18
Report Dispatch
May 2020 9
Dispatch Ch12
November 2019 24
Dispatch Transcript
May 2020 7

More Documents from ""

Java Collection Classes
November 2019 26
Jdbc
November 2019 31
Struts Tutorial
November 2019 16
Scjp 5 Mockup Test With Q&a
November 2019 22
Jsp Lab Project
November 2019 30