Пример #1
0
 public static String getInternalServletFinderActionFilePath(EdoBean bean) {
   String folder =
       bean.getEdoBuilder().getJavaControllerInternalServletFolder()
           + StringUtils.uncapitalize(bean.getName())
           + File.separator;
   String filename = bean.getName() + "FinderFrontEndAction.java";
   String finalfile = folder + filename;
   return finalfile;
 }
Пример #2
0
  public static String getInternalServletJspFilePath(EdoBean bean, String suffix) {
    String folder = bean.getEdoBuilder().getWebinfApsFolder();
    String subfolder =
        "jsp/internalservlet/".replaceAll("/", Matcher.quoteReplacement(File.separator));
    folder = folder + subfolder;
    folder = folder + bean.getName().toLowerCase() + File.separator;

    String filename = "frontend-" + StringUtils.uncapitalize(bean.getName()) + suffix;
    String finalfile = folder + filename;
    return finalfile;
  }