The __________ method of HttpServletResponse causes the browser to request a new URL.
- forward()
- include()
- refresh()
- sendRedirect()
The sendRedirect() method of HttpServletResponse causes the browser to request a new URL.
Loading...
Related Quiz
- How are requests forwarded from servlets to the appropriate view in an MVC framework?
- Consider a servlet that initiates a long-running task asynchronously. What happens to the request thread during this task?
- Which interface must a class implement to act as a filter in a web application?
- In a servlet, how can you log an exception along with the stack trace?
- What method is used to complete the asynchronous process and send a response?