jodd-madvoc/src/main/java/jodd/madvoc/result/ServletDispatcherActionResult.java
@Override
	protected String locateTarget(final ActionRequest actionRequest, String path) {
		String target;

		if (path.endsWith(StringPool.SLASH)) {
			path = path + defaultViewPageName;
		}

		for (final String ext : defaultViewExtensions) {
			target = path + ext;

			if (targetExists(actionRequest, target)) {
				return target;
			}
		}

		return null;
	}
@Override
	protected String locateTarget(final ActionRequest actionRequest, String path) {
		String target;

		if (path.endsWith(StringPool.SLASH)) {
			path = path + defaultViewPageName;
		}

		for (final String ext : defaultViewExtensions) {
			target = path + ext;

			if (targetExists(actionRequest, target)) {
				return target;
			}
		}

		return null;
	}
@ Override protected String locateTarget ( final ActionRequest actionRequest , String path ) { String target ; if ( path . endsWith ( StringPool . SLASH ) ) { path = path + defaultViewPageName ; } for ( final String ext : defaultViewExtensions ) { target = path + ext ; if ( targetExists ( actionRequest , target ) ) { return target ; } } return null ; }
Locates target using path with various extensions appended.
Locates target using path with various extensions appended .