BAEL-1343 MVC Architecture with Servlets and JSP code (#3624)

* BAEL-1343 MVC Architecture with Servlets and JSP code

* BAEL-1343 code refactoring

* BAEL-1343 code refactoring

* BAEL-1343 updated code formatting

* BAEL-1343 code refactoring
This commit is contained in:
haseebahmad11
2018-02-14 05:49:46 +05:00
committed by Predrag Maric
parent 3d4a179ca3
commit bcc3b6ed95
7 changed files with 176 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ public class FormServlet extends HttpServlet {
response.setHeader("Test", "Success");
response.setHeader("BMI", String.valueOf(bmi));
RequestDispatcher dispatcher = request.getRequestDispatcher("index.jsp");
RequestDispatcher dispatcher = request.getRequestDispatcher("/WEB-INF/jsp/index.jsp");
dispatcher.forward(request, response);
} catch (Exception e) {