I have a program that is used to generate a number of reports. The initial JSP has a number of combo boxes where a user chooses the type of report to generate, startdate and enddate.When the JSP is submitted, the main Action Servlet should now use case statement in determining which specific servlet to call so that execution happens and the result of this specific servlet be now forwarded to a JSP.This means that for every report selected, it has its own servlet to populate the result. in diagrammatic form i need to implement something like:
initial JSP- main action servlet- specific action servlet - final JSP.
How do i use the mapping.findForward method in the main servlet to forward to a specific servlet based on what kind of report has been chosen, so that that servlet can do the manipulation before results are sent to the final JSP.