code: public boolean sendResourceFile(String path, HttpServletResponse response) throws IOException
      {
          URL url = null;
          try {
              url = ClassServiceUtility.getClassService().getResourceURL(path, baseURL, null, this.getClass().getClassLoader());
          } catch (RuntimeException e) {
              e.printStackTrace();    // ???
          }        	
          if (url == null)
              return false;   // Not found
          InputStream inStream = null;
          try {
              inStream = url.openStream();
          } catch (Exception e) {
              return false;   // Not found
          }
  
          // Todo may want to add cache info (using bundle lastModified).
          OutputStream writer = response.getOutputStream();
          if (response.getContentType() == null)
          {
              if (httpContext != null)
                  response.setContentType(httpContext.getMimeType(path));
              else
              	response.setContentType(FileHttpContext.getDefaultMimeType(path));
          }
          copyStream(inStream, writer, true); // Ignore errors, as browsers do weird things
          writer.close();
          inStream.close();
          return true;
      }
docs: Send this resource to the response stream.
  @param request
  @param response
  @return
  @throws IOException