DEVFYI - Developer Resource - FYI

How is JSP include directive different from JSP include action.

JSP Interview Questions and Answers


(Continued from previous question...)

54. How is JSP include directive different from JSP include action.

When a JSP include directive is used, the included file's code is added into the added JSP page at page translation time, this happens before the JSP page is translated into a servlet. While if any page is included using action tag, the page's output is returned back to the added page. This happens at runtime.

(Continued on next question...)

Other Interview Questions