if (urlMapping != null) {
if (!urlMapping.useFlowHandler()) {
currentScreen = urlMapping.getScreen();
//请加入侦察码,以本例来说,currentScreen =customer.screen
System.out.println("currentScreen="+currentScreen);
} else {
// load the flow handler
FlowHandler handler = null;
String flowHandlerString = urlMapping.getFlowHandler();
try {
handler = (FlowHandler)getClass().getClassLoader()
.loadClass(flowHandlerString).newInstance();
// invoke the processFlow(HttpServletRequest)
handler.doStart(request);
String flowResult = handler.processFlow(request);
handler.doEnd(request);
currentScreen = urlMapping.getResultScreen(flowResult);
// if there were no screens by the id then assume that the
result was
//the screen itself
if (currentScreen == null) currentScreen = flowResult;
} catch (Exception ex) {
System.err.println("ScreenFlowManager caught loading
handler: " + ex);
}