PrepAway - Latest Free Exam Questions & Answers

What method must be modified to include the following statements?

Mary wants to enable cookie support for a portlet she has authored. She has already enabled
two-phase rendering within the portlet.xml. What method must be modified to include the
following statements? Cookie myCookie = new Cookie(“stylekey”, “styleValue “);
myCookie.setPath(request.getContextPath()); myCookie.setMaxAge(1200000);

renderResponse.addProperty(stylekey);

PrepAway - Latest Free Exam Questions & Answers

A.
render(RenderRequest renderRequest, RenderResponse renderResponse)

B.
doHeaders(RenderRequest renderRequest, RenderResponse renderResponse)

C.
processAction(RenderRequest renderRequest, RenderResponse renderResponse)

D.
doEdit(RenderRequest renderRequest, RenderResponse renderResponse)


Leave a Reply