public static void setBaseViewPath(String baseViewPath) {
		if (baseViewPath == null)
			throw new NullPointerException("the baseViewPath can not be null");
		if ("".equals(baseViewPath)) {
			throw new IllegalArgumentException("the baseViewPath can not be blank");
		}
		
		baseViewPath = baseViewPath.trim();
		if (!baseViewPath.startsWith("/")) {
			baseViewPath = "/" + baseViewPath;
		}
		if (baseViewPath.endsWith("/")) {
			baseViewPath = baseViewPath.substring(0, baseViewPath.length() - 1);
		}
		
		Routes.baseViewPath = baseViewPath;
	}