
228 Implementing Web Applications with CM Information Integrator for Content and ODWEK
We need to implement the following RBController methods:
dispatch(...)
doTask(...)
initSessionSetup(...)
The dispatch method is a helper service. In this sample application development,
you need to add this method to every servlet created from now on.
To implement the dispatch method, proceed as follows:
1. Open the RBController Java code.
2. Add the dispatch method as shown in after the
doPost method. The dispatch
method is a helper service.
Example 8-4 Generic dispatch method
public void dispatch(HttpServletRequest request,
HttpServletResponse response, String ...