As far as my understanding the include method of RequestDispatcher icludes the response of some other resource into its contents....
What will happen if the Included
servlet is commiting the response??
And if we try to write any data to response after include, then will it throw
IllegalStateException??
I mean something like this...
out.println("Data Begins");
RequestDispatcher lRd = lResponse.getRequestDispatcher("/servlet/Test); //
Test commits the reponse
lRd.include(request, response);
out.println("will it throw exception??");
[ November 27, 2003: Message edited by: Andy Smith ]
Share Knowledge to gain it.
SCJP 2, SCWCD 2, SCDJWS, IBM 141 (In Progress), IBM 486 (Next)