package io.mere.mortal;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet(urlPatterns = {"/*"}, loadOnStartup = 1)
public class BackendServlet extends HttpServlet 
{
  @Override 
  public void doGet(HttpServletRequest request, HttpServletResponse response) 
      throws IOException
  {
  	  if ("/oops".equals(request.getRequestURI())) {
  	  	response.sendError(500);
  	  } else {
      	response.getOutputStream().print("This sometimes serves stuff: "+request.getRequestURI());
      }
  }
}

@@ -324,17 +324,16 @@
 Servlet 
-%0A
 %7B%0A  @Ove
@@ -337,17 +337,16 @@
 Override
- 
 %0A  publi
@@ -416,23 +416,16 @@
 sponse) 
-%0A      
 throws I
@@ -438,215 +438,41 @@
 tion
-%0A 
  %7B%0A  
-%09
   
-if (%22/oops%22.equals(request.getRequestURI())) %7B%0A  %09  %09response.sendError(500);%0A  %09  %7D else %7B%0A      %09response.getOutputStream().print(%22This sometimes serves stuff: %22+request.getRequestURI());%0A      %7D
+  response.sendError(500);
 %0A  %7D

Throw 500's, because it's in vogue