Skip to content
No description or website provided.
Java
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.openshift
.settings
WebContent/META-INF
deployments
src/empty
.classpath
.gitignore
.project
README.md

README.md

This is an empty Java Web App and has one servlet

@WebServlet("/") public class Index extends HttpServlet { private static final long serialVersionUID = 1L;

/**
 * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
 */
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("text/html");  
    PrintWriter out = response.getWriter();
    out.println("<h1>Hello empty project</h1>");
}

}

Something went wrong with that request. Please try again.