}
public void handleTarget(WebAction webAction, WebObjectSource webObjectSource)
throws ServletException, IOException
{
Target target=webAction.getTarget();
if(target == null)
{
if(log.isDebugEnabled())
log.debug("the action "+webAction+" has no Target defined, handling is not needed.");
return;
}
TargetHandler th=getTargetHandler(target.getType());
if(th == null)
throw new NullPointerException("no TargetHandler found for handling Target of type "+SbmUtils.toString(target.getType()));
th.handleTarget(webAction, webObjectSource);
}