JSTPEndpoint: corrected #setResourcePattern