String name = urlBinding.substring(path.length(), urlBinding.lastIndexOf("."));
String name = (lastPeriod >= path.length()) ? urlBinding.substring(path.length(), lastPeriod) : urlBinding.substring(path.length());
    protected Resolution findView(String urlBinding) {        String path = urlBinding.substring(0, urlBinding.lastIndexOf("/") + 1);        String name = urlBinding.substring(path.length(), urlBinding.lastIndexOf("."));        ServletContext ctx = StripesFilter.getConfiguration()                .getBootstrapPropertyResolver().getFilterConfig().getServletContext();        try {            // This will try /account/ViewAccount.jsp            String jsp = path + name + ".jsp";            if (ctx.getResource(jsp) != null) {                return new ForwardResolution(jsp);            }            // This will try /account/viewAccount.jsp            name = Character.toLowerCase(name.charAt(0)) + name.substring(1);            jsp = path + name + ".jsp";            if (ctx.getResource(jsp) != null) {                return new ForwardResolution(jsp);            }            // And finally this will try /account/view_account.jsp            StringBuilder builder = new StringBuilder();            for (int i=0; i<name.length(); ++i) {                char ch = name.charAt(i);                if (Character.isUpperCase(ch)) {                    builder.append("_");                    builder.append(Character.toLowerCase(ch));                }                else {                    builder.append(ch);                }            }            jsp = path + builder.toString() + ".jsp";            if (ctx.getResource(jsp) != null) {                return new ForwardResolution(jsp);            }            return null;        }        catch (MalformedURLException mue) {            return null;        }    }