This is a struts2 convention demo!
result type
result type url
jsp page /result-page!jsp.action
freemarker page /result-page!freemarker.action
filename : content :
org.adaikiss.xun.Path
url result description
/path.action /content/path.jsp no action but result "success", mapping [path.jsp, path-success.jsp, path.ftl...]
/path/path.action /content/path/path.jsp execute default method "execute()" and result "success", mapping [path/path.jsp, path/path-success.jsp, path/path.ftl...]
/path/path!one.action /content/path/path-one.jsp execute Path#one() and result "one", mapping [path/path-one.jsp]
/path/relative.action /content/path/relative-one.jsp relative path to Path#one() and result "one", mapping [path/relative-one.jsp]
/absolute.action /content/absolute-one.jsp absolute path to Path#one() and result "one", mapping [absolute-one.jsp]