• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

getLocalAddr, getLocalPort, getRemoteAddr, getRemotHost

 
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.
 
Ranch Hand
Posts: 46
1
Tomcat Server Java
  • 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
Tomcat Server Java
  • 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
 
a fool thinks himself to be wise, but a wise man knows himself to be a fool - shakespeare. foolish tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic