1.0 Other languages |
||||
3 Controller and dispatcher |
||||
|
In VelocityWeb framework, controller is formed by following classes: org.velocityweb.controller.ControllerServlet And in web application that uses VelocityWeb framework, need to write sub-class of following classes: org.velocityweb.controller.ControllerServlet Normally, web applications using VelocityWeb will write sub-class of both ControllerServlet and Controller. There is no need to write sub-class for DispatcherTreeManager. The reason that we seperate Controller class from ControllerServlet is that we don't want ControllerServlet to be too big. And, in future version, we want to use this Controller class in background batch job. |
|||
|
||||