1.Modify the web.xml to turn off the three test filter filters and turn on the LogResponsesCookiesFilter filter.
2.Note how the filter works with the cookies.
3.Modify the LogResponsesCookiesFilter. The filter you implemented needs to add an additional cookie using the filter’s name as the cookie name. The content of this cookie will be your name.
4.Make the filter to work with DownloadServlet. Note that you may need to modify the web.xml to get the filter to work in this project.
5.The project should print out the list of cookies to client web browserusing view_cookies.jsp(or any other jsp file of your choice) which includes the filter cookie.
6.After test working, build the project to produce .war file as shown in previous assignments.
I have already did step 1 and turned off the Test Filters and turned on the LogResponsesCookiesFilter. Can someone help from step 2 - step 6. I have attached the folder of the project called WebApplication4.
0 Answer(s)