This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
HF Servlets & JSP, page: 405 (first paragraph after the slide on the left side)It says....
There are a few limitations, though:an included page CANNOT change the response status code or set headers(which means it can't call, say, addCookies()). You won't get an error if the included JSP tries to do things it can't - you just won't get what you asked for.
Can somebody explain why I cannot change the response status or set headers in the included JSP?