Skip to content

Instantly share code, notes, and snippets.

@steinarb

steinarb/ReactServlet.java

Last active Mar 18, 2020
Embed
What would you like to do?
Sample FrontendServlet without any routing
@Component(service={Servlet.class}, property={"alias=/frontend-karaf-demo"})
public class ReactServlet extends FrontendServlet {
@Reference
public void setLogservice(LogService logservice) {
super.setLogService(logservice);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.