About Question enthuware.jwpv6.2.590 :

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
ETS User

Re: About Question enthuware.jwpv6.2.590 :

Post by ETS User »

Hello,
class name declared in dd is now same as annotated class of the servlet.
IMHO if we don't change the name, options 1 and 5 are correct.

Guest

Re: About Question enthuware.jwpv6.2.590 :

Post by Guest »

ETS User wrote:Hello,
class name declared in dd is now same as annotated class of the servlet.
IMHO if we don't change the name, options 1 and 5 are correct.
sorry, no edit option:
<servlet-name> is same as annotated class name of the servlet (WFTestServlet1)

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

Re: About Question enthuware.jwpv6.2.590 :

Post by admin »

Hello,
The servlet names will be different. One will be named com.enthuware.toywebfragment.WFTestServlet1 and the second one will be named WFTestServlet.
The package statement is not shown in the code but is clear from the web.xml.

HTH,
Paul.

ramy6_1
Posts: 124
Joined: Wed Feb 12, 2014 2:44 am
Contact:

Re: About Question enthuware.jwpv6.2.590 :

Post by ramy6_1 »

Hello ,

You mentioned in your explanation "Therefore, two servlet instances will be created (one will be named com.enthuware.toywebfragment.WFTestServlet1 and the second one will be named WFTestServlet)"

I think you mean WFTestServlet1 not WFTestServlet in the last words , right ?

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

Re: About Question enthuware.jwpv6.2.590 :

Post by admin »

ramy6_1 wrote:Hello ,

You mentioned in your explanation "Therefore, two servlet instances will be created (one will be named com.enthuware.toywebfragment.WFTestServlet1 and the second one will be named WFTestServlet)"

I think you mean WFTestServlet1 not WFTestServlet in the last words , right ?
Yes. Fixed.
thank you for your feedback!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest