About Question enthuware.jwpv6.2.640 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
manoj6992
Posts: 3
Joined: Wed Dec 30, 2015 1:17 am
Contact:

About Question enthuware.jwpv6.2.640 :

Post by manoj6992 » Wed Feb 01, 2017 1:13 am

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

admin
Site Admin
Posts: 7143
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.640 :

Post by admin » Wed Feb 01, 2017 1:31 am

You are right. Fixed.
thank you for your feedback!
Paul.

siarhei
Posts: 8
Joined: Wed Nov 25, 2015 1:41 am
Contact:

Re: About Question enthuware.jwpv6.2.640 :

Post by siarhei » Thu May 25, 2017 12:42 am

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

admin
Site Admin
Posts: 7143
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.640 :

Post by admin » Sat May 27, 2017 11:57 pm

Fixed.
thank you for your feedback!
Paul.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests