3.2.errata_week3 - response to a question I had mistakenly...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
I made two mistakes in my lecture on Servlets last week (Week 3). These are the corrections for those 1. response.sendRedirect(resourceName) This call has the effect of a HTTP 301 redirect response from the server. The call sends a message back to the browser to send a request to resourceName instead. This changes the URL in the browsers URL field to reflect the new location. In
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: response to a question, I had mistakenly said that the call doesn't exist. 2. RequestDispatcher.forward() In the lecture notes, it's mentioned that the forward call changes the URL to the called servlet/JSP. That's wrong. The URL path remains that of the original servlet....
View Full Document

This note was uploaded on 06/20/2011 for the course COMP 9417 taught by Professor Some during the Three '11 term at University of New South Wales.

Ask a homework question - tutors are online