Loading questions...
Updated
Want a break from the ads?
Become a Supporter and enjoy a completely ad-free experience, plus unlock Learn Mode, Exam Mode, AstroTutor AI, and more.
Support Examcademy
Your support keeps this platform running. Become a Supporter to remove all ads and unlock exclusive study tools.
Create a free account to unlock all questions for this exam.
Log In / Sign UpYou are building a dating service web site. Part of the form to submit a client's profile is a group of radio buttons for the person's hobbies:
20. <input type = radio name = hobbyEnum value = HIKING> Hiking <br>
21. <input type = radio name = hobbyEnum value = SKING> Sking <br>
22. <input type = radio name = hobbyEnum value = SCUBA> SCUBA <br>
23. <! - - and more options - - >>
After the user submits this form, a confirmation screen is displayed with these hobbies listed. Assume that an application-scoped hobbies, holds a map between the hobby enumerated type and the display name.
Which EL code snippet will display Nth element of the user's selected hobbles?
You are building a web application with a scheduling component. On the JSP, you need to show the current date, the date of the previous week, and the date of the next week.
To help you present this information, you have created the following EL functions in the d namespace:
✑ Name : curData; signature: java.util.utilDate CurrentDate()
✑ Name : curData; signature: java.util.utilDate addweek (java.util.Date, int)
✑ Name: dateString; signature: java.util.String getDataString (jave.util.Data)
Which EL code snippet will generate the string for the previous week?
Given a header in an HI IP request:
X-Retries: 4 -
A Which two retrieve the value of the header from a given HttpServletRequest request? (Choose two)
Given an HttpServletRequestrequest and HttpResponseresponse, which sets a cookie "username" with the value "joe" in a servlet?
Which annotation enables a servlet to efficiently process requests of typo multipart/form-data that involve large files being uploaded by the client?
APIs for dynamically registering servlets and filters can be called at:
ServletRegistration.Dynamic can be used to configure (Choose two)
A web application wants to register a new servlet at runtime using one of the servletContext.addServlet methods.
In the implementation of which method is it legal to perform this operation?
You want to create a filter for your web application and your filter will implement
.servlet.Filter.
Which two statements are true? (Choose two)
In ServletContext.getNamedDispatcher(string arg0) arg0 is the
When using Servlet asynchronous API if you want to dispatch the request back to a particular url -"/url" within the same Servlet Context which of the following API would you use?
Which describes a trigger that causes a call to an AsyncListener?
Refer to the Exhibit.

A servlet sets a session-scoped attribute product with an instance of com.example.product an forward to a JSP. Which two output the name of the product in the response? (Choose two)
Click the Exhibit button.
Given the HTML form:

You need to create a JavaBean object that is used only within the current ISP page. It must NOT be accessible to any other page including those that this page might import.
Which JSP standard action < .in accomplish this goal?