aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes getLocalAddr, getLocalPort, getRemoteAddr, getRemotHost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "getLocalAddr, getLocalPort, getRemoteAddr, getRemotHost" Watch "getLocalAddr, getLocalPort, getRemoteAddr, getRemotHost" New topic
Author

getLocalAddr, getLocalPort, getRemoteAddr, getRemotHost

Fabian Angy
Ranch Hand

Joined: Oct 27, 2008
Posts: 90
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.


SCJP 5
Ben Pheonix
Ranch Hand

Joined: Dec 11, 2012
Posts: 46
    
    1

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


Twitter:ben_pheonix
Fabian Angy
Ranch Hand

Joined: Oct 27, 2008
Posts: 90
3rd edition :-)
Ben Pheonix
Ranch Hand

Joined: Dec 11, 2012
Posts: 46
    
    1

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

Joined: Oct 27, 2008
Posts: 90
Yes I guess.
But It's weird... Certainly a mistake in the book :-).

Thank you !

Angy
 
jQuery in Action, 2nd edition
 
subject: getLocalAddr, getLocalPort, getRemoteAddr, getRemotHost