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. Add the dependencies jakarta.servlet.jsp.jstl-api und jakarta.servlet.jsp.jstl to the Maven project.
  2. Modify the doGet method of the TodoListServlet so that it adds the existing todos to the request and forwards the request to the server page todoList.jsp which renders the todos.
  3. Modify the doGet method the NewTodoServlet so that it adds the todo categories to the request and forwards the request to the server page newTodo.jsp which renders the form for posting a new todo.
Solution