Last active
October 24, 2023 05:25
-
-
Save rotty3000/e39a837364e6eba6bf04 to your computer and use it in GitHub Desktop.
resources example, serving any resources in your bundle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component( | |
property = { | |
"osgi.http.whiteboard.resource.pattern=/kaleo/resources/*", | |
"osgi.http.whiteboard.resource.prefix=/", | |
"osgi.http.whiteboard.servlet.pattern=/kaleo/resources/*" // temporary since this was the old property | |
}, | |
service = Servlet.class | |
) | |
public class DDMJsResources extends HttpServlet { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment