Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getLocalAddr, getLocalPort, getRemoteAddr, getRemotHost

 
Fabian Angy
Ranch Hand
Posts: 90
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm reading the Charles Lyon's book and I see that these methods (getLocalAddr(), getLocalPort(), getRemoteAddr(), getRemotHost(), etc...) are not an Exam Objective but when I've made the mock exam trial of Enthuware and there was a question about these methods.
So... are these methods a part of the exam or not ?

Same question about getContextPath(), getPathInfo(), getServletPath(), ...

Thanks in advance,

Angy.
 
Ben Pheonix
Ranch Hand
Posts: 46
1
Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Which edition of Charles Lyon's book you are reading? On the other hand, these methods are part of servlet AP, so we should be expected
to test against these methods.

HTH,
Ben
 
Fabian Angy
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
3rd edition :-)
 
Ben Pheonix
Ranch Hand
Posts: 46
1
Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is it the latest version of the simulator you are using? Additionally no harm to have the knowledge, i suppose they are still on the exam.
One of my friends appeared for the exam, and they did appear on the exam. So as part of servlet API, i suppose we should be ready to
be tested against these methods.
HTH,
Ben
 
Fabian Angy
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I guess.
But It's weird... Certainly a mistake in the book :-).

Thank you !

Angy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic