code: private String getStaticScript(final String path,
  			final GeneratorContext context) throws IOException {
  		CachingHandler cachingHandler = (CachingHandler) getContainer(context)
  				.getBean(path);
  		String dwrMapping = context.getConfig().getDwrMapping();
  		if(!dwrMapping.startsWith(JawrConstant.URL_SEPARATOR)){
  			dwrMapping = JawrConstant.URL_SEPARATOR+dwrMapping;
  		}
  		return cachingHandler.generateCachableContent(context
  				.getServletContext().getContextPath(), dwrMapping, "");
  	}
docs: Get a static script from DWR (scripts that are not Interfaces nor DTOs)
  
  @param path
  The Script URL (i.e.: /engine.js)
  @param context
  The GeneratorContext
  @return The script as a String
  @throws IOException