Bear Bibeault wrote:Beneath the covers, JSPs are implemented as servlets. This is an implementation detail that has nothing at all to do with how you write modern JSP pages. It's only interesting for academic purposes.
I know Bibeault, in practice it may not be important to know but for interviews you must know everything because you never know when the interviewer starts throwing crazy questions.:)
I would hope that whomever you are interviewing with knows better than to ask idiotic questions, but I guess we cannot count on that. All that is pertinent is that the variable points to the servlet instance. There's not much else to know about it. Because modern JSP pages have no Java code in them, it's really an unimportant and irrelevant detail.