hi! can anybody pl explain what exactly the given objectives(12.6 & 10.2) cover? 12.6 Given a "BODY" or "PAGE" constant, identify a correct description of the constant's use in the following methods: doStartTag doAfterBody doEndTag 10.2 Given JSP page attribute scopes: request, session, application, identify the equivalent servlet code. ashok.
12.6: I think they mean "SKIP_BODY" and "SKIP_PAGE" instead of "BODY" and "PAGE". The object is probably that you should understand which method can use which constant. JSP specification sais: "public static final int SKIP_BODY Skip body evaluation. Valid return value for doStartTag and doAfterBody. public static final int SKIP_PAGE Skip the rest of the page. Valid return value for doEndTag."
10.2: When beans are used in JSP they are set to a certain scope level. The objective is to understand what scope level corresponds to which object in a servlet contex. For example page 4 of this resource http://java.sun.com/products/jsp/pdf/card12.pdf gives: request = HttpServletRequest session = HttpSession application = ServletContext /anders
Politics is a circus designed to distract you from what is really going on. So is this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!