• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

is this included in the exam objectives ??

 
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
should we expect this stuff on the exam ? -

1. methods like
ServletContext.getAttributeNames( ) ?
getServletContext().getAttribute("javax.servlet.context.tempdir");
( the arguement in the bracket ?? )
2. is the methods getNamedDispatcher( ) on the exam ?
hfsj talks only about the getRequestDispatcher( ).
 
Ranch Hand
Posts: 563
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. I think so
2. I dont think so, HFSJ states that getNamedDispatcher is not in the exam, but i would like someone to confirm it. Maybe the authors could confirm it ?
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
actually i never read getNamedDispatcher( ) anywhere in the HFSJ book
please confirm whether we have this on the exam ?
 
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Niranjan Deshpande:
actually i never read getNamedDispatcher( ) anywhere in the HFSJ book
please confirm whether we have this on the exam ?



May be not. But I guess there no harm in learning its Usage
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes kishore...congrats for your 94% score
you are right
now let me see whether i know its usage or not -

the getNamedDispatcher( ) can be used to invoke a servlet
if the arguement to the method is worng, we get a IllegalArgumentException
and the path given to the method, is it mandatory that it should start with a / or not ???

and wait...ust checked the api....the api says...using this method one can invoke JSP also. these servlets and JSP are declared in web.xml !

am i correct on the EXCEPTION thrown by the method ? the api doesnt say seo, but DavidBridgeWater mock test says so.

thanks in advance !
 
reply
    Bookmark Topic Watch Topic
  • New Topic