Like Sitetree, STRUTS handles a HTTP request and dispatches it to resources.
However STRUTS also places a structure on the resources. STRUTS uses a Model-View-Controller
pattern to separate the model (struts "actions" and other processing code),
from the view (JSP pages etc.). STRUTS logic itself plays the part of the controller.
Sitetree is only a controller. It makes no assumptions about the structure of the resources referenced.
It is more appropriately considered to be an implementation of the strategy pattern.
Sitetree is the strategy for dispatching requests to resources.
Sitetree is a simpler technology and requires much less time to learn and use.
It is also less of a framework and is easier to patch into an existing implementation.
Sitetree is also appropriate for projects that need a navigation component that can be
used in various architectures.
Back to list