@@ -0,0 +1,592 @@
+package com.gaohui.action;%0A%0Aimport java.lang.String;%0Aimport org.apache.struts2.freeroute.annotation.ContentBase;%0Aimport org.apache.struts2.freeroute.annotation.Route;%0A%0A/**%0A * @author bastengao%0A * @date 12-12-28 22:16%0A */%0A@ContentBase(%22/pages%22)%0Apublic class ContentBaseController %7B%0A%0A    @Route(%22/test-content-base%22)%0A    public String view() %7B%0A        // %22dispatcher:/pages/content.html%22%0A        return %22dispatcher:content.html%22;%0A    %7D%0A%0A    @Route(%22/anthor-absolute-path%22)%0A    public String view2() %7B%0A        // %22/%22 %E5%BC%80%E5%A7%8B%E5%B0%86%E4%BD%BF%E7%94%A8%E7%BB%9D%E5%AF%B9%E8%B7%AF%E5%BE%84, %E5%A6%82%E6%9E%9C%E5%88%99%E4%BD%BF%E7%94%A8%E7%9B%B8%E5%AF%B9%E8%B7%AF%E5%BE%84%0A        return %22dispatcher:/pages/content.html%22;%0A    %7D%0A%7D%0A

添加 @ContentBase 示例. #3