PRJ301_-_2_-_SP_2024_-_FE_1718.webp
Todoroki_87

PRJ301_-_2_-_SP_2024_-_FE_1718.webp

Your servlet may receive a request, which the servlet cannot handle. In such cases, you want to redirect the request to another resource which may or may not be a part of the same web application. Which of the following options can be used to achieve this objective?
A. response.sendRedirect("some url");
B. RequestDispatcher rd = this.getServletContext().getRequestDispatcher("some url");rd.forward(request, response);
C. RequestDispatcher rd = request.getRequestDispatcher("some url");rd.forward(request, response);
D. request.sendRedirect("some url");

  • Like
Reactions: seloena

Thông tin

Category
PRJ301
Thêm bởi
Todoroki_87
Ngày thêm
Lượt xem
4,665
Lượt bình luận
32
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRJ301_-_2_-_SP_2024_-_FE_1718.webp
File size
227.3 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom