Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ public Set<String> getResourcePaths(String path) {

@Override
public URL getResource(String path) throws MalformedURLException {
throw new UnsupportedOperationException("This ServletContext does not represent a running web container");
return ServerlessServletContext.class.getResource(path);
}

@Override
public InputStream getResourceAsStream(String path) {
return null;
return ServerlessServletContext.class.getResourceAsStream(path);
}

@Override
Expand Down