• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Exam 399: One Question

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
Got it. thanks Praveen for the response.
 
Get out of my mind! Look! A tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!