Web Programming

Todo Web Application (Server Pages)

The objective of this exercise is to implement Jakarta server pages for displaying and creating todos.

Tasks

  1. Modify the servlet TodoListServlet so that the doGet method adds the todos from the service to the request and forwards the request to the server page todoList.jsp which renders the todos.
  2. Modify the servlet NewTodoServlet so that the doGet method adds the todo categories to the request and forwards the request to the server page newTodo.jsp which renders a form for posting a new todo.


Solution