Page 1 of 1

About Question enthuware.jwpv6.2.640 :

Posted: Wed Feb 01, 2017 1:13 am
by manoj6992

Code: Select all

javax.servlet.ServletRegistration extends javax.servlet.Registration: Provides addMapping and addMappings All Known Subinterfaces: ServletRegistration.Dynamic 
Looks like the above explanation provided is wrong.
I don't find any addMappings() for javax.servlet.ServletRegistration Interface.

Below is what I found (ref: http://docs.oracle.com/javaee/6/api/jav ... ation.html)
==================================================================
addMapping(java.lang.String... urlPatterns)
getMappings()
getRunAsRole()

Can you please confirm.

Regards,
Manoj

Re: About Question enthuware.jwpv6.2.640 :

Posted: Wed Feb 01, 2017 1:31 am
by admin
You are right. Fixed.
thank you for your feedback!
Paul.

Re: About Question enthuware.jwpv6.2.640 :

Posted: Thu May 25, 2017 12:42 am
by siarhei
in Explanation section (last sentence):

Code: Select all

javax.servlet.ServletRegistration.Dynamic extends ServletRegistration
should be

Code: Select all

javax.servlet.ServletRegistration.Dynamic extends ServletRegistration, Registration.Dynamic
please refer http://docs.oracle.com/javaee/6/api/jav ... namic.html

Re: About Question enthuware.jwpv6.2.640 :

Posted: Sat May 27, 2017 11:57 pm
by admin
Fixed.
thank you for your feedback!
Paul.