package com.roshka.bootcamp; import java.io.IOException; import java.io.PrintWriter; import jakarta.servlet.*; public class HelloWorldServlet extends GenericServlet { private static final long serialVersionUID = 1L; @Override public void service(ServletRequest request, ServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println(""); out.println("
"); out.println("