servlet.log(Log.TOKENS_PARSING,Log.DEBUG);
String[] tokens = tokenize(mapping.getParameter());
// Create our business service helper
Object helper = createHelperObject(request,tokens[0]);
BizService bizService = (BizService) helper;
// Process business logic
servlet.log(Log.HELPER_EXECUTING,Log.DEBUG);
if (tokens.length>1) {
// Pass along the helper's parameter, if any
if (tokens.length>2) {
bizRequest.setParameter(tokens[2]);
}
bizResponse = processDispatch(
mapping,
bizService,
bizRequest,
tokens[1]);
}
else {
bizResponse = (BizResponse) bizService.process(bizRequest);
}
}
// Gracefully trap any kinky class-cast or NPE type exceptions
catch (Throwable t) {