DEVFYI - Developer Resource - FYI

Is there a way to reference the "this" variable within a JSP page?

JSP Interview Questions and Answers


(Continued from previous question...)

34. Is there a way to reference the "this" variable within a JSP page?

Yes, there is. Under JSP 1.0, the page implicit object is equivalent to "this", and returns a reference to the servlet generated by the JSP page.

(Continued on next question...)

Other Interview Questions