goja-web/src/main/java/goja/mvc/Controller.java
protected String parsePath(String currentActionPath, String url) {
        if (url.startsWith(SLASH)) {
            return url.split("\\?")[0];
        } else if (!url.contains(SLASH)) {
            return SLASH + currentActionPath.split(SLASH)[1] + SLASH + url.split("\\?")[0];
        } else if (url.contains("http:") || url.contains("https:")) {
            return null;
        }
        ///abc/def","bcd/efg?abc
        return currentActionPath + SLASH + url.split("\\?")[0];
    }
protected String parsePath(String currentActionPath, String url) {
        if (url.startsWith(SLASH)) {
            return url.split("\\?")[0];
        } else if (!url.contains(SLASH)) {
            return SLASH + currentActionPath.split(SLASH)[1] + SLASH + url.split("\\?")[0];
        } else if (url.contains("http:") || url.contains("https:")) {
            return null;
        }
        ///abc/def","bcd/efg?abc
        return currentActionPath + SLASH + url.split("\\?")[0];
    }
protected String parsePath ( String currentActionPath , String url ) { if ( url . startsWith ( SLASH ) ) { return url . split ( "\\?" ) [ 0 ] ; } else if ( ! url . contains ( SLASH ) ) { return SLASH + currentActionPath . split ( SLASH ) [ 1 ] + SLASH + url . split ( "\\?" ) [ 0 ] ; } else if ( url . contains ( "http:" ) || url . contains ( "https:" ) ) { return null ; } ///abc/def","bcd/efg?abc return currentActionPath + SLASH + url . split ( "\\?" ) [ 0 ] ; }
Based on the current path structure is going to jump full Action of the path

@param currentActionPath The current path, similar to/sau/index
@param url               The next path, similar to/au/login, the detail? The admin/detail.
@return An Action under the full path.
Based on the current path structure is going to jump full Action of the path