Page 1 of 1
Re: About Question enthuware.jwpv6.2.590 :
Posted: Sat Nov 19, 2011 2:02 pm
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.
Re: About Question enthuware.jwpv6.2.590 :
Posted: Sat Nov 19, 2011 2:06 pm
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)
Re: About Question enthuware.jwpv6.2.590 :
Posted: Sun Nov 20, 2011 9:18 pm
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.
Re: About Question enthuware.jwpv6.2.590 :
Posted: Mon Feb 24, 2014 12:56 am
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 ?
Re: About Question enthuware.jwpv6.2.590 :
Posted: Mon Feb 24, 2014 11:40 am
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!