@Override public String toString() { return "action: " + actionPath + (actionMethod == null ? "" : '#' + actionMethod) + " --> " + getActionString(); }
/** * Prints out the message. User can override this method and modify the way * the message is printed. */ protected void printBefore(ActionRequest request) { StringBuilder message = new StringBuilder("----->"); message.append(request.getActionPath()).append(" [").append(request.getActionConfig().getActionString()).append(']'); out(message.toString()); }
System.out.print("[ ] "); System.out.println(ac.actionPath + " -> " + ac.getActionString());