diff --git a/pom.xml b/pom.xml
index c4343e0..f47fed4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,6 +86,8 @@
UTF-8
1.8
1.5.6
+ 1.8
+ 1.8
servlettarpit
diff --git a/src/main/java/io/shiftleft/tarpit/OrderStatus.java b/src/main/java/io/shiftleft/tarpit/OrderStatus.java
index b749e54..3bd9e09 100644
--- a/src/main/java/io/shiftleft/tarpit/OrderStatus.java
+++ b/src/main/java/io/shiftleft/tarpit/OrderStatus.java
@@ -20,7 +20,7 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-@WebServlet(name = "simpleServlet", urlPatterns = {"/getOrderStatus"}, loadOnStartup = 1)
+@WebServlet(name = "simpleServlet", urlPatterns = { "/getOrderStatus" }, loadOnStartup = 1)
public class OrderStatus extends HttpServlet {
private static final long serialVersionUID = -3462096228274971485L;
@@ -81,6 +81,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response)
request.setAttribute("orderDetails", order);
LOGGER.info("Order details are " + order);
+ LOGGER.info("Order " + orderId + " details are forwarded to dashboard ");
getServletContext().getRequestDispatcher("/dashboard.jsp").forward(request, response);
@@ -102,7 +103,6 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response)
throw new ServletException(e);
}
-
}
private void getConnection() throws ClassNotFoundException, SQLException {