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.
About Question enthuware.jwpv6.2.590 :
Moderators: Site Manager, fjwalraven
Re: About Question enthuware.jwpv6.2.590 :
sorry, no edit option: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.
<servlet-name> is same as annotated class name of the servlet (WFTestServlet1)
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.590 :
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.
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.
-
- Posts: 124
- Joined: Wed Feb 12, 2014 2:44 am
- Contact:
Re: About Question enthuware.jwpv6.2.590 :
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 ?
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 ?
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.590 :
Yes. Fixed.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 ?
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 1 guest