jodd-madvoc/src/main/java/jodd/madvoc/result/ServletDispatcherActionResult.java
protected boolean targetExists(final ActionRequest actionRequest, final String target) {
		if (log.isDebugEnabled()) {
			log.debug("target check: " + target);
		}

		final ServletContext servletContext = actionRequest.getHttpServletRequest().getServletContext();

		try {
			return servletContext.getResource(target) != null;
		} catch (MalformedURLException ignore) {
			return false;
		}
	}
protected boolean targetExists(final ActionRequest actionRequest, final String target) {
		if (log.isDebugEnabled()) {
			log.debug("target check: " + target);
		}

		final ServletContext servletContext = actionRequest.getHttpServletRequest().getServletContext();

		try {
			return servletContext.getResource(target) != null;
		} catch (MalformedURLException ignore) {
			return false;
		}
	}
protected boolean targetExists ( final ActionRequest actionRequest , final String target ) { if ( log . isDebugEnabled ( ) ) { log . debug ( "target check: " + target ) ; } final ServletContext servletContext = actionRequest . getHttpServletRequest ( ) . getServletContext ( ) ; try { return servletContext . getResource ( target ) != null ; } catch ( MalformedURLException ignore ) { return false ; } }
Returns <code>true</code> if target exists.
Returns <code > true< / code > if target exists .