within a method called jspInit
within the page directive of the JSP page
within a scriptlet at the top of the JSP page
within the
第1题:
Which is a benefit of precompiling a JSP page?()
第2题:
Which JSP standard action can be used to import content from a resource called foo.jsp?()
第3题:
A store was published based upon the consumer direct model. After it was published, the store flow was changed and the APPLY PERMANENTLY option was chosen. The store flow can no longer be changed through the WebSphere Commerce Accelerator because when the APPLY PERMANENTLYoption was chosen:()
第4题:
You need to create a JavaBean object that is used only within the current JSP page. It must NOT beaccessible to any other page including those that this page might import. Which JSP standard action canaccomplish this goal?()
第5题:
Which three occur during JSP page translation?()
第6题:
A JSP page needs to perform some operations before servicing the first request. Where can this be done?()
第7题:
You are creating a new JSP page and you need to execute some code that acts when the page is firstexecuted, but only once. Which three are possible mechanisms for performing this initialization code?()
第8题:
A JSP page needs to instantiate a JavaBean to be used by only that page. Which two jsp:useBean attributes must be used to access this attribute in the JSP page?()
第9题:
You have created a JSP that includes instance variables and a great deal of scriptlet code. Unfortunately,after extensive load testing, you have discovered several race conditions in your JSP scriptlet code. To fixthese problems would require significant recoding, but you are already behind schedule. Which JSP codesnippet can you use to resolve these concurrency problems?()
第10题:
You have built your own light-weight templating mechanism. Your servlets, which handle each request,dispatch the request to one of a small set of template JSP pages. Each template JSP controls the layout ofthe view by inserting the header, body, and footer elements into specific locations within the template page.The URLs for these three elements are stored in request scoped variables called, headerURL, bodyURL,and footerURL, respectively. These attribute names are never used for other purposes. Which JSP codesnippet should be used in the template JSP to insert the JSP content for the body of the page?()