I have downloaded the example code. In the directory src/com/ora/jsp/servlets, there are a PBControllerServlet class and a PBDispatcherServlet class.
I want to implement your Action Object design and get confused as to what files I need to look at. Where do I find what files belong to what example? |
Answer: Sorry about the confusion. The PBControllerServlet class corresponds to examples 14-1 through 14-3. It contains the logic for all actions as private methods. The PBDispatcherServlet class, the Action interface, all XXXAction classes and the ActionUtils class correspond to the example described in “A More Modular Design Using Action Objects”. |