About Question enthuware.jwpv6.2.609 :

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
Cengiz C.

About Question enthuware.jwpv6.2.609 :

Post by Cengiz C. »

Code: Select all

    public WFTestServlet1(){
        System.out.println("WFTestServlet1 instance created "+(++count));
    }
The declartion of

Code: Select all

int count;
is nowhere to be found.

This is distracting, one thinks that that method will fail because of compile error.

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

Re: About Question enthuware.jwpv6.2.609 :

Post by admin »

You are right. int count should be declared in the code. Will be fixed asap.

thank you for your feedback!

BTW, the "It will not compile because @PostConstruct is not applicable in a servlet." is still not the right option.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests