Coffee Cram: Chapter 5 Answers
When using a
RequestDispatcher, the use of which methods can often lead to an
IllegalStateException? (Choose all that apply.)
(Servlet v2.4 pg. 167)
-An IllegalStateException is caused when a response has already been ‘committed’ to the client (the flush method does that), and then you attempt a forward.
Which statements about
ServletContextinitialization parameters are true? (Choose all that apply.)
(Servlet v2.4 pg. 31)
They should be used for data that changes rarely.
They should be used for data that changes frequently.
They can be accessed using
They can be accessed ...