Skip to content

Instantly share code, notes, and snippets.

Last active Mar 18, 2020
What would you like to do?
Frontend servlet with routing
@Component(service={Servlet.class}, property={"alias=/frontend-karaf-demo"})
public class ReactServlet extends FrontendServlet {
public ReactServlet() {
setRoutes("/", "/counter", "/about");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment