This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Web Component Certification (SCWCD/OCPJWCD)
Joined: Dec 29, 2007
Dec 03, 2008 20:21:00
1. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/ jstl/core" %> 2. <%@ taglib prefix="tables" uri="http://www.javaranch. com/tables" %> 3. <%@ taglib prefix="jsp" tagdir="/WEB-INF/tags" %> 4. <%@ taglib uri="UtilityFunctions" prefix="util" %> What about the above taglib directives would cause the JSP to not function? A. Line 4 is wrong because the prefix attribute must come before the uri attribute. B. Line 3 is wrong because there is no uri attribute. C. Line 4 is wrong because the uri value must begin with http:// D. Line 3 is wrong because the prefix jsp is reserved for standard actions. JSP v2.0 section 1.10.2; hf 314, 502 -Option A: attributes can be in any order. -Option B: when using Tag Files, tagdir is used instead of uri. -Option C: a URI simply must match how the TLD is identified by the container. -Option D: the jsp prefix is reserved for standard actions.
Option C is marked as beeing the correct answer. I disagree. I think D is the correct answer.
Can someone confirm it please?
Sun Certified Associate for Java Platform
Sun Certified Java Programmer 5.0
Sun Certified Web Component Developer 5.0
Joined: Nov 24, 2005
Dec 03, 2008 20:58:00
quote your sources
All roads lead to JavaRanch
Joined: Aug 05, 2006
Dec 03, 2008 21:35:00
D. Line 3 is wrong because the prefix jsp is reserved for standard actions.
Is the only correct option.
SCJP, SCWCD, SCBCD
Joined: Dec 29, 2007
Dec 04, 2008 02:43:00
Thank you Deepak Jain!
subject: Question 49
HFSJ Edition 2 Final mock exam QNo:49
Question regarding answers in HFSJ 2nd ed mock exam
Question 49 of HFSJ Final mocktest
Final Mock Test Question 49,69, Head First and Servlets
HFSJ Mock Exam
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014