org.infohazard.maverick.flow
Interface Controller
- All Known Subinterfaces:
- ControllerSingleton
- All Known Implementing Classes:
- ControllerWithParams, FormBeanUser, Throwaway, Throwaway2
- public interface Controller
Controller is the interface that all command controllers must implement.
A controller which implements this interface (and not ControllerSingleton)
will have a new instance instantiated for every request.
go
public java.lang.String go(ControllerContext cctx)
throws javax.servlet.ServletException
- Returns:
- which view to switch to
javax.servlet.ServletException