You are creating a library of custom tags that mimic the HTML form tags. When the user submits a formthat fails validation, the JSP form is forwarded back to the user. The tag must support the ability to re-populate the form field with the request parameters from theuser’s last request. For example, if the user entered "Samantha" in the text field called firstName, then theform is re-populated like this: Which tag handler method will accomplish thisgoal?()
You have built a collection of custom tags for your web application. The TLD file is located in the file: /WEB-INF/myTags.xml. You refer to these tags in your JSPs using the symbolic name: myTags. Which deployment descriptor element must you use to make this link between the symbolic name and the TLD filename?()
Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()
Which the two JSTL URL-related tags perform URL rewriting?()
The tl:taskList and tl:task tags output a set of tasks to the response and are used as follows: 11. 12. 13. 14. 15. The tl:task tag supplies information about a single task while the tl:taskList tag does the final output. The taghandler for tl:taskList is TaskListTag. The tag handler for tl:task is TaskTag. Both tag handlers extendBodyTagSupport. Which allows the tl:taskList tag to get the task names from its nested tl:task children?()
The sl:shoppingList and sl:item tags output a shopping list to the response and are used as follows: 11. 12. 13. 14. 15. The tag handler for sl:shoppingList is ShoppingListTag and the tag handler for sl:item is ItemSimpleTag.ShoppingListTag extends BodyTagSupport and ItemSimpleTag extends SimpleTagSupport.Which is true?()
Assume that a news tag library contains the tags lookup and item: Lookup Retrieves the latest news headlines and executes the tag body once for each headline. Exposed a NESTED page-scoped attribute called headline of type com.example. Headline containing details for that headline. Item Outputs the HTML for a single news headline. Accepts an attribute info of type com.example. Headline containing details for the headline to be rendered. Which snippet of JSP code returns the latest news deadlines in an HTLM table, one per row?()
Assume that a news tag library contains the tags lookup and item: lookup Retrieves the latest news headlines and executes the tag body once for each headline. Exposes a NESTED page scoped attributecalled headline of type com.example.Headline containing details for that headline. item Outputs the HTMLfor a single news headline. Accepts an attribute info of typecom.example.Headline containing details for theheadline to be rendered. Which snippet of JSP code returns the latest news headlines in an HTML table,one per row?()
Given the Tag: Assuming the tag referenced by my Tags: get Advice uses the Classic event model, which is true?()
Which two JSTL URL-related tags perform URL rewriting?()