SCWCD 310-083考試考古題由“KillTest認證題庫網”資深IT認證講師和SCWCD產品專家結合Prometric或VUE的真實考試環境最新原題精心打造。310-083考古題助您一次輕鬆通過考試。本站所售考古題含蓋了當前最新的真實考題,並且全部附有正確答案,我們承諾對SCWCD 310-083(Sun Certified Web Component Developer for J2EE 5)考試原題完整覆蓋。如果您正在準備310-083考試,它將是最佳的學習助手,是您通過考試取得證照的捷徑。
310-083 Exam考古題由我們的資深IT認證講師和SCWCD產品專家精心打造,包括了當前最新的真實310-083考試題目,全部附有正確答案。所有購買我們“310-083考古題”的客護,都將獲得60天免費昇級的售後服務,確保客護的壹次通過率。
You are creating a JSP page to display a collection of data. This data can be displayed in several
different ways so the architect on your project decided to create a generic servlet that generates a
commadelimited
string so that various pages can render the data in different ways. This servlet takes on
request parameter: objectID.
Assume that this servlet is mapped to the URL pattern: /WEBINF/
data.
In the JSP you are creating, you need to split this string into its elements separated by commas and
generate an HTML <ul> list from the data.
Which JSTL code snippet will accomplish this goal?
A. <c:import varReader=’dataString’ url=’/WEBINF/
data’>
<c:param name=’objectID’ value=’${currentOID}’ />
</c:import>
<ul>
<c:forTokens items’${dataString.split(“,”)}’ var=’item’>
<li>${item}</li>
</c:forTokens>
</ul>
B. <c:import varReader=’dataString’ url=’/WEBINF/
data’>
<c:param name=’objectID’ value=’${currentOID}’ />
</c:import>
<ul>
<c:forTokens items’${dataString}’ delims=’,’ var=’item’>
<li>${item}</li>
</c:forTokens>
</ul>
C. <c:import var=’dataString’ url=’/WEBINF/
data’>
<c:param name=’objectID’ value=’${currentOID}’ />
</c:import>
<ul>
| English | Chinese(Traditional) | Chinese(Simplified) | 3
KillTest
Information Co., Ltd. All rights reserved.
<c:forTokens items’${dataString.split(“,”)}’ var=’item’>
<li>${item}</li>
</c:forTokens>
</ul>
D. <c:import var=’dataString’ url=’/WEBINF/
data’>
<c:param name=’objectID’ value=’${currentOID}’ />
</c:import>
<ul>
<c:forTokens items’${dataString}’ delims=’,’ var=’item’>
<li>${item}</li>
</c:forTokens>
</ul>
Answer:D