I was asked this question in an interview. If I include jsp A in jsp B and jsp B in jsp A (using include statements) and run the server, what will happen?
1) what kind of error/exception will you get? 2) will you get the same error/exception every time you run the server?
I tried tomcat. my system freezed and I had to kill the process, didn't wait for it to end. In the interview, I mumbled it should throw either stackoverlflow error or out of memory error and the guy asked which one? when loading jsps, does the container use space on the stack or not?