• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is this included in the exam objectives ??

 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • 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( ).
 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
actually i never read getNamedDispatcher( ) anywhere in the HFSJ book
please confirm whether we have this on the exam ?
 
Kishore Balla
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • 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
  • 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 !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic