• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Exam 399: One Question

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All

I was taking a mock test on Cameron McKenzie website, and i have one doubt with the following question
Question is

The PortalContext:
A. can provide a list of window states supported by the portal
B. can provide a list of portlet modes supported by the portal
C. provides access to the RequestDispatcher
D. provides access to the portal logging mechanism

In my views the answer to this question should be C, D as PortletContext interface has methods which makes C, D as correct options.
1. getRequestDispatcher(String path)
2. getNamedDispatcher(String name)
3. log(String msg)

but the answer in the website says it should be A,B. I could not find any methods in PortletContext which could make optins A,B as true.

Can any one please help me with correct answer.

Also i want to appreciate and thank Cameron McKenzie for providing excellent demo and mock questions on Portlet 399 exam. Any one looking for a great source for this exam must definetly look at his website.

thanks
Puneet
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The question being asked is on PortalContext and not PortletContext. PortletContext provides the view on the portlet Application, while the PortalContext provides the view on the portal server in which the portlet application is running. The PortalContext provides information about the server like version information, the window states and portlet modes supported by the portal server.
 
Puneet Srivastava
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Got it. thanks Praveen for the response.
 
Danger, 10,000 volts, very electic .... tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic