





{"id":1330,"date":"2010-08-12T21:34:30","date_gmt":"2010-08-13T01:34:30","guid":{"rendered":"http:\/\/www.killtest.hk\/?p=1330"},"modified":"2010-08-12T21:34:30","modified_gmt":"2010-08-13T01:34:30","slug":"sun-scwcd-310-083-exam-2","status":"publish","type":"post","link":"https:\/\/www.killtest.hk\/index.php\/killtest\/sun-scwcd-310-083-exam-2\/","title":{"rendered":"Sun SCWCD 310-083 Exam"},"content":{"rendered":"<p>Sun Certified Web Component Developer for J2EE 5<br \/>\nExam Number\/Code : <a href=\"http:\/\/www.killtest.net\/SCWCD\/310-083.asp\" target=\"_blank\">310-083<br \/>\n<\/a>Exam Name : Sun Certified Web Component Developer for J2EE 5<br \/>\nQuestions and Answers : 276 Q&amp;As<\/p>\n<p>1. Given the JSP code:\u00a0<br \/>\n10. &lt;html&gt;\u00a0<br \/>\n11. &lt;body&gt;\u00a0<br \/>\n12. &lt;jsp:useBean id=&#8217;customer&#8217; class=&#8217;com.example.Customer&#8217; \/&gt;\u00a0<br \/>\n13. Hello, ${customer.title} ${customer.lastName}, welcome\u00a0<br \/>\n14. to Squeaky Beans, Inc.\u00a0<br \/>\n15. &lt;\/body&gt;\u00a0<br \/>\n16. &lt;\/html&gt;\u00a0<br \/>\nWhich three types of JSP code are used? (Choose three.)<br \/>\nA. Java code<br \/>\nB. template text<br \/>\nC. scripting code<br \/>\nD. standard action<br \/>\nE. expression language<br \/>\nAnswer: BDE<\/p>\n<p>2. To take advantage of the capabilities of modern browsers that use web standards, such as XHTML and CSS, your web application is being converted from simple JSP pages to JSP Document format. However, one of your JSPs, \/scripts\/screenFunctions.jsp, generates a JavaScript file. This file is included in several web\u00a0 forms\u00a0 to\u00a0 create\u00a0 screen-specific\u00a0 validation\u00a0 functions\u00a0 and\u00a0 are\u00a0 included\u00a0 in\u00a0 these\u00a0 pages\u00a0 with\u00a0 the following statement:\u00a0<br \/>\n10. &lt;head&gt;\u00a0<br \/>\n11.\u00a0\u00a0\u00a0 &lt;script src=&#8217;\/scripts\/screenFunctions.jsp&#8217;\u00a0<br \/>\n12.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 language=&#8217;javascript&#8217;\u00a0<br \/>\n13.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 type=&#8217;application\/javascript&#8217;&gt; &lt;\/script&gt;\u00a0<br \/>\n14. &lt;\/head&gt;\u00a0<br \/>\n15. &lt;!&#8211; body of the web form &#8211;&gt;\u00a0<br \/>\nWhich JSP code snippet declares that this JSP Document is a JavaScript file?<br \/>\nA. &lt;%@ page contentType=&#8217;application\/javascript&#8217; %&gt;<br \/>\nB. &lt;jsp:page contentType=&#8217;application\/javascript&#8217; \/&gt;<br \/>\nC. &lt;jsp:document contentType=&#8217;application\/javascript&#8217; \/&gt;<br \/>\nD. &lt;jsp:directive.page contentType=&#8217;application\/javascript&#8217; \/&gt;<br \/>\nE. No declaration is needed because the web form XHTML page already declares the MIME type of the<br \/>\n\/scripts\/screenFunctions.jsp file in the &lt;script&gt; tag.<br \/>\nAnswer: D<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sun Certified Web Component Developer for J2EE 5 Exam N [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[142,480,143],"class_list":["post-1330","post","type-post","status-publish","format-standard","hentry","category-killtest","tag-310-083","tag-310-083-exam","tag-scwcd"],"_links":{"self":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/posts\/1330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/comments?post=1330"}],"version-history":[{"count":0,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/posts\/1330\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/media?parent=1330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/categories?post=1330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/tags?post=1330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}