@@ -0,0 +1,610 @@
+package org.example.action;%0A%0Aimport com.bastengao.struts2.freeroute.Results;%0Aimport com.bastengao.struts2.freeroute.annotation.MethodType;%0Aimport com.bastengao.struts2.freeroute.annotation.Route;%0A%0A/**%0A * TODO %E5%AE%9E%E7%8E%B0 issue #7%0A *%0A * @author bastengao%0A * @date 13-1-21 23:10%0A */%0A@Route(%22/nested-route%22)%0Apublic class NestedRouteController %7B%0A    // GET /nested-route%0A    @Route(method = MethodType.GET)%0A    public String index() %7B%0A        return Results.html(%22my-result%22);%0A    %7D%0A%0A    // POST /nested-route%0A    @Route(method = MethodType.POST)%0A    public String add() %7B%0A        return Results.html(%22my-result%22);%0A    %7D%0A%7D%0A

添加嵌套 @Route 例子